[PATCH] services: virtualization: Change libvirtd use syslog by default.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal
C
C
Christopher Baines wrote on 8 Sep 2019 19:37
(address . guix-patches@gnu.org)
20190908173753.3384-1-mail@cbaines.net
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(-)

Toggle diff (15 lines)
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
--
2.23.0
L
L
Ludovic Courtès wrote on 18 Sep 2019 15:31
(name . Christopher Baines)(address . mail@cbaines.net)(address . 37343@debbugs.gnu.org)
87blvhbuj9.fsf@gnu.org
Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (7 lines)
> 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’.
C
C
Christopher Baines wrote on 21 Sep 2019 18:40
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 37343-done@debbugs.gnu.org)
87k1a11u2e.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (11 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2GUolfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9Xf84RAArf1OOszHJoa5afQfJl12xqXW+USSpbxlSiEunpZNZB3IUkb8sCQ41L3P
839Ds3ClZRVHXPI/kD+lD3g5Xe/zIZvfeUVyoaQsYln2TSuscX1nV4ssX6rKlFQ6
21fWZlKNYMSMmtLy3I10JPizhCs7bcXbfPNjlYl/XFdjyqjYrUveTMEjDI24xSs2
gc1gCJKu8IWDO2nSovWpnsMGNWaombSvoCw2a97foxa+08WLV/cTFhGq6NocZHBC
SFCqWoj8RQtk0baGWTQ8KmpdmvhzAKYW5o1NY9BCv2xxLHOG0uoIt4VtUcIDLsiz
UzrQgZarxnNDYL2klNP29OWGQD6KwvB25nv1evHxreLfNBhYcKXNp75Oyt9Cy743
2w5CVMnpFQk6I6uLHiGmRethCnXjjlpcwPsqe6hw3bITaHH7wj03IYTqtAhu/NBA
a6nLhCwnZE/45uOc5aaNo4PcFRgMrz9RbCZNIn3UaysdEWer8EdhICNQ77ALWPh4
JQ98geT3rIFTaPRhvglBauQVgJlzcs/vd8j0OcQuFg8N+SPAVQx3fv4fxjFusxUe
C4BHkyDW1JXPhVcjGOlu54upNsk00wG2QIn0VEgP81I6jzIFEv/UrAgEQP9oNBJt
a1IquWkmtXgjqMcUSNlPUKPTv9rGiLThKNPYVOPrOPtlxPGCk8k=
=Zho5
-----END PGP SIGNATURE-----

Closed
?