# Got the intial file from http://wiki.rsyslog.com/ and modified it # if you experience problems, check # http://www.rsyslog.com/troubleshoot for assistance # $IncludeConfig /etc/rsyslog.d/ #### MODULES #### module(load="imuxsock") # provides support for local system logging (e.g. via logger command) module(load="imklog") # provides kernel logging support (previously done by rklogd) module(load="imjournal") # provides access to the systemd journal #module(load="immark") # provides --MARK-- message capability # Provides UDP syslog reception #module(load="imudp") #input(type="imudp" port="514") # Provides TCP syslog reception #module(load="imtcp") #input(type="imtcp" port="514") #### GLOBAL DIRECTIVES #### $umask 0000 #### REMOTE RULES #### #### LOCAL RULES #### # Log all kernel messages to the console. #kern.* /dev/console # The authpriv file has restricted access. authpriv.* /var/log/messages # Log all the mail messages in one place. mail.* /var/log/maillog" # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg :omusrmsg:* # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log