Revert "syslog.conf: disable debug messages by default from /var/log/syslog"

This reverts commit 4fd55cd1ac because it
has caused more problems than it was intended to fix.  If users get too
much debug log messages they can add this themselves, but if they don't
get their log messages they will believe there's something wrong with
their application generating the logs.

The file /var/log/syslog is supposed to log everything, except auth*.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2023-04-22 08:31:14 +02:00
parent 7ec64e5f9c
commit b3d0a9b638

View File

@ -7,11 +7,7 @@
# First some standard log files. Log by facility. # First some standard log files. Log by facility.
# #
auth,authpriv.* /var/log/auth.log 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 #cron.* /var/log/cron.log
#daemon.* -/var/log/daemon.log #daemon.* -/var/log/daemon.log