sysklogd/syslog.conf

73 lines
1.7 KiB
Plaintext
Raw Normal View History

# /etc/syslog.conf - Configuration file for syslogd(8)
1997-06-02 22:51:41 +05:30
#
# For information about the format of this file, see syslog.conf(5)
1997-06-02 22:51:41 +05:30
#
#
# First some standard log files. Log by facility.
#
auth,authpriv.* /var/log/auth.log
# 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
kern.* -/var/log/kern.log
#lpr.* -/var/log/lpr.log
mail.* -/var/log/mail.log
#user.* -/var/log/user.log
1997-06-02 22:51:41 +05:30
#
# 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
#mail.*;mail.!=info -/var/log/mail
#mail,news.=info -/var/log/info
1997-06-02 22:51:41 +05:30
# The tcp wrapper loggs with mail.info, we display all
# the connections on tty12
#
#mail.=info /dev/tty12
1997-06-02 22:51:41 +05:30
#
# Some "catch-all" log files.
#
#*.=debug;\
# auth,authpriv.none;\
# news.none;mail.none -/var/log/debug
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages
1997-06-02 22:51:41 +05:30
# Store all critical eventes, except kernel logs in critical
1997-06-02 22:51:41 +05:30
#
#*.=crit;kern.none /var/log/critical
1997-06-02 22:51:41 +05:30
# Example of sending events to remote syslog server.
# All events from notice and above, except auth, authpriv
# and any kernel message are sent to server finlandia in
# RFC5424 formatted output.
1997-06-02 22:51:41 +05:30
#
#*.notice;auth,authpriv.none;
# kern.none\ @finlandia ;RFC5424
1997-06-02 22:51:41 +05:30
# Emergencies are sent to anyone logged in
1997-06-02 22:51:41 +05:30
#
*.=emerg *
1997-06-02 22:51:41 +05:30
# Priority alert and above are sent to the operator
1997-06-02 22:51:41 +05:30
#
#*.alert root,joey
#
# Include all config files in /etc/syslog.d/
#
include /etc/syslog.d/*.conf