syslog.conf: disable debug messages by default from /var/log/syslog
Many projects use sysklogd with the shipped syslog.conf as their own default /etc/syslog.conf. This is fine of course, but for many small embedded systems getting all debug messages in the log by default is not desirable. This change drops debug messages from /var/log/syslog by default and recommends admins to use /var/log/debug, or drop the debug filter. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
6798fe76d5
commit
4fd55cd1ac
@ -7,7 +7,11 @@
|
||||
# First some standard log files. Log by facility.
|
||||
#
|
||||
auth,authpriv.* /var/log/auth.log
|
||||
*.*;auth,authpriv.none -/var/log/syslog
|
||||
|
||||
# Everything except debug and security tokens, re-enable debug by
|
||||
# dropping '*.!=debug;', or enable /var/log/debug below
|
||||
*.*;*.!=debug;\
|
||||
auth,authpriv.none -/var/log/syslog
|
||||
|
||||
#cron.* /var/log/cron.log
|
||||
#daemon.* -/var/log/daemon.log
|
||||
|
Loading…
Reference in New Issue
Block a user