[bug#37343] services: virtualization: Change libvirtd use syslog by default.
diff mbox series

Message ID 20190908173753.3384-1-mail@cbaines.net
State New
Headers show
Series
  • [bug#37343] services: virtualization: Change libvirtd use syslog by default.
Related show

Commit Message

Christopher Baines Sept. 8, 2019, 5:37 p.m. UTC
As defaulting by stderr, along with the shepherd service not directing the
output to a log file makes seeing the output difficult, compared to logging to
syslog.

* gnu/services/virtualization.scm (libvirt-configuration)[log-outputs]: Change
default from "3:stderr" to "3:syslog:libvirtd".
---
 gnu/services/virtualization.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ludovic Courtès Sept. 18, 2019, 1:31 p.m. UTC | #1
Christopher Baines <mail@cbaines.net> skribis:

> As defaulting by stderr, along with the shepherd service not directing the
> output to a log file makes seeing the output difficult, compared to logging to
> syslog.
>
> * gnu/services/virtualization.scm (libvirt-configuration)[log-outputs]: Change
> default from "3:stderr" to "3:syslog:libvirtd".

LGTM!

Ludo’.
Christopher Baines Sept. 21, 2019, 4:40 p.m. UTC | #2
Ludovic Courtès <ludo@gnu.org> writes:

> Christopher Baines <mail@cbaines.net> skribis:
>
>> As defaulting by stderr, along with the shepherd service not directing the
>> output to a log file makes seeing the output difficult, compared to logging to
>> syslog.
>>
>> * gnu/services/virtualization.scm (libvirt-configuration)[log-outputs]: Change
>> default from "3:stderr" to "3:syslog:libvirtd".
>
> LGTM!

Great, I've pushed this now as b64fa7f0626618664330e83dbdbfb7a70736f657.

Patch
diff mbox series

diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 705ed84d06..028234885f 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -313,7 +313,7 @@  be logged:
 Multiple filters can be defined in a single filters statement, they just
 need to be separated by spaces.")
   (log-outputs
-    (string "3:stderr")
+    (string "3:syslog:libvirtd")
     "Logging outputs.
 
 An output is one of the places to save logging information