[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: services: Log debug messages to /var/log/debug.

From: Andy Wingo
Subject: 07/08: gnu: services: Log debug messages to /var/log/debug.
Date: Fri, 25 Aug 2017 10:02:50 -0400 (EDT)

wingo pushed a commit to branch master
in repository guix.

commit b6d8066d4d458a9fd2375e730d206df69b1575d6
Author: Andy Wingo <address@hidden>
Date:   Tue Aug 22 18:40:18 2017 +0200

    gnu: services: Log debug messages to /var/log/debug.
    * gnu/services/base.scm (%default-syslog.conf): Create a /var/log/debug with
      messages logged to syslog at debug level.
 gnu/services/base.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index e28e0d7..54bd9ca 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1220,6 +1220,9 @@ Service Switch}, for an example."
      # Don't log private authentication messages!
      *.info;mail.none;authpriv.none          /var/log/messages
+     # Like /var/log/messages, but also including \"debug\"-level logs.
+     *.debug;mail.none;authpriv.none         /var/log/debug
      # Same, in a different place.
      *.info;mail.none;authpriv.none          /dev/tty12

reply via email to

[Prev in Thread] Current Thread [Next in Thread]