1 # /etc/rsyslog.conf Configuration file for rsyslog v3.
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.
43 # Include all config files in /etc/rsyslog.d/
45 $IncludeConfig /etc/rsyslog.d/*.conf
53 # First some standard log files. Log by facility.
55 auth,authpriv.* /var/log/auth.log
56 *.*;auth,authpriv.none -/var/log/syslog
57 #cron.* /var/log/cron.log
58 daemon.* -/var/log/daemon.log
59 kern.* -/var/log/kern.log
60 lpr.* -/var/log/lpr.log
61 mail.* -/var/log/mail.log
62 user.* -/var/log/user.log
65 # Logging for the mail system. Split it up so that
66 # it is easy to write scripts to parse these files.
68 mail.info -/var/log/mail.info
69 mail.warn -/var/log/mail.warn
70 mail.err /var/log/mail.err
73 # Logging for INN news system.
75 news.crit /var/log/news/news.crit
76 news.err /var/log/news/news.err
77 news.notice -/var/log/news/news.notice
80 # Some "catch-all" log files.
84 news.none;mail.none -/var/log/debug
85 *.=info;*.=notice;*.=warn;\
88 mail,news.none -/var/log/messages
91 # Emergencies are sent to everybody logged in.
96 # I like to have messages displayed on the console, but only on a virtual
97 # console I usually leave idle.
100 # news.=crit;news.=err;news.=notice;\
102 # *.=notice;*.=warn /dev/tty8
104 # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
105 # you must invoke `xconsole' with the `-file' option:
107 # $ xconsole -file /dev/xconsole [...]
109 # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
115 *.=notice;*.=warn |/dev/xconsole