diff options
author | Andy Wingo <wingo@igalia.com> | 2017-08-22 18:40:18 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2017-08-25 16:01:56 +0200 |
commit | b6d8066d4d458a9fd2375e730d206df69b1575d6 (patch) | |
tree | 197e40becfe5026b431a07616c92c11031bbe13b /gnu/services/base.scm | |
parent | e0e6756fbddc56b73640273ea8c6bf17825b337a (diff) | |
download | patches-b6d8066d4d458a9fd2375e730d206df69b1575d6.tar patches-b6d8066d4d458a9fd2375e730d206df69b1575d6.tar.gz |
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/base.scm')
-rw-r--r-- | gnu/services/base.scm | 3 |
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 |