aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
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/services
parente0e6756fbddc56b73640273ea8c6bf17825b337a (diff)
downloadguix-b6d8066d4d458a9fd2375e730d206df69b1575d6.tar.gz
guix-b6d8066d4d458a9fd2375e730d206df69b1575d6.zip
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/services')
-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