From b6d8066d4d458a9fd2375e730d206df69b1575d6 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 22 Aug 2017 18:40:18 +0200 Subject: [PATCH] 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 e28e0d7ac5..54bd9ca2fb 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1220,6 +1220,9 @@ (define %default-syslog.conf # 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