[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

Debbugs page

Christopher Baines wrote 6 years ago
(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
Ludovic Courtès wrote 5 years ago
(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’.
Christopher Baines wrote 5 years ago
(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
?
Your comment

This issue is archived.

To comment on this conversation send an email to 37343@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 37343
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help