1 # /etc/rsyslog.conf Configuration file for rsyslog.
3 # For more information see
4 # /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
11 $ModLoad imuxsock # provides support for local system logging
12 $ModLoad imklog # provides kernel logging support (previously done by rklogd)
13 #$ModLoad immark # provides --MARK-- message capability
15 # provides UDP syslog reception
19 # provides TCP syslog reception
21 #$InputTCPServerRun 514
24 ###########################
25 #### GLOBAL DIRECTIVES ####
26 ###########################
29 # Use traditional timestamp format.
30 # To enable high precision timestamps, comment out the following line.
32 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
35 # Set the default permissions for all log files.
44 # Include all config files in /etc/rsyslog.d/
46 $IncludeConfig /etc/rsyslog.d/*.conf
54 # First some standard log files. Log by facility.
56 auth,authpriv.* /var/log/auth.log
57 *.*;auth,authpriv.none -/var/log/syslog
58 #cron.* /var/log/cron.log
59 daemon.* -/var/log/daemon.log
60 kern.* -/var/log/kern.log
61 lpr.* -/var/log/lpr.log
62 mail.* -/var/log/mail.log
63 user.* -/var/log/user.log
66 # Logging for the mail system. Split it up so that
67 # it is easy to write scripts to parse these files.
69 mail.info -/var/log/mail.info
70 mail.warn -/var/log/mail.warn
71 mail.err /var/log/mail.err
74 # Logging for INN news system.
76 news.crit /var/log/news/news.crit
77 news.err /var/log/news/news.err
78 news.notice -/var/log/news/news.notice
81 # Some "catch-all" log files.
85 news.none;mail.none -/var/log/debug
86 *.=info;*.=notice;*.=warn;\
89 mail,news.none -/var/log/messages
92 # Emergencies are sent to everybody logged in.
97 # I like to have messages displayed on the console, but only on a virtual
98 # console I usually leave idle.
101 # news.=crit;news.=err;news.=notice;\
103 # *.=notice;*.=warn /dev/tty8
105 # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
106 # you must invoke `xconsole' with the `-file' option:
108 # $ xconsole -file /dev/xconsole [...]
110 # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
116 *.=notice;*.=warn |/dev/xconsole