2015-04-01 16:24:07 +02:00
|
|
|
# Default rules for rsyslog.
|
|
|
|
#
|
|
|
|
# For more information see rsyslog.conf(5) and /etc/rsyslog.conf
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# Fichier de configuration du daemon syslogd
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
|
2017-09-05 17:06:46 +02:00
|
|
|
#
|
|
|
|
# First some standard log files. Log by facility.
|
|
|
|
#
|
|
|
|
auth.* /var/log/auth.log
|
|
|
|
authpriv.* /var/log/authpriv.log
|
|
|
|
*.*;auth,authpriv.none -/var/log/syslog
|
|
|
|
cron.* /var/log/cron.log
|
|
|
|
mark.* /var/log/cron/mark.log
|
|
|
|
daemon.* -/var/log/daemon.log
|
|
|
|
kern.* -/var/log/kern.log
|
|
|
|
lpr.* -/var/log/lpr.log
|
|
|
|
mail.* -/var/log/mail.log
|
|
|
|
user.* -/var/log/user.log
|
|
|
|
|
|
|
|
#
|
|
|
|
# Logging for the mail system. Split it up so that
|
|
|
|
# it is easy to write scripts to parse these files.
|
|
|
|
#
|
|
|
|
mail.info -/var/log/mail.info
|
|
|
|
mail.warn -/var/log/mail.warn
|
|
|
|
mail.err /var/log/mail.err
|
|
|
|
|
|
|
|
#
|
|
|
|
# Additional log may be used occasionally
|
|
|
|
#
|
|
|
|
news.* /var/log/news.log
|
|
|
|
uucp.* /var/log/uucp.log
|
|
|
|
local0.* /var/log/local0.log
|
|
|
|
local1.* /var/log/local1.log
|
|
|
|
local2.* /var/log/local2.log
|
|
|
|
local3.* /var/log/local3.log
|
|
|
|
local4.* /var/log/local4.log
|
|
|
|
local5.* /var/log/local5.log
|
|
|
|
local6.* /var/log/local6.log
|
|
|
|
local7.* /var/log/local7.log
|
|
|
|
|
|
|
|
#
|
|
|
|
# Some "catch-all" log files.
|
|
|
|
#
|
|
|
|
*.=debug;\
|
|
|
|
auth,authpriv.none;\
|
|
|
|
news.none;mail.none -/var/log/debug
|
2017-09-06 10:22:14 +02:00
|
|
|
|
2017-09-11 14:54:45 +02:00
|
|
|
# All logs.
|
2017-09-05 17:06:46 +02:00
|
|
|
*.=info;*.=notice;*.=warn;\
|
|
|
|
auth,authpriv.none;\
|
|
|
|
cron,daemon.none;\
|
|
|
|
mail,news.none -/var/log/messages
|
|
|
|
|
|
|
|
#
|
|
|
|
# Emergencies are sent to everybody logged in.
|
|
|
|
#
|
|
|
|
*.emerg :omusrmsg:*
|