summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2017-08-22 18:40:18 +0200
committerAndy Wingo <wingo@igalia.com>2017-08-25 16:01:56 +0200
commitb6d8066d4d458a9fd2375e730d206df69b1575d6 (patch)
tree197e40becfe5026b431a07616c92c11031bbe13b /gnu
parente0e6756fbddc56b73640273ea8c6bf17825b337a (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index e28e0d7ac5..54bd9ca2fb 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