Blame SOURCES/rsyslog.conf

937096
# rsyslog configuration file
937096
937096
# For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html
937096
# or latest version online at http://www.rsyslog.com/doc/rsyslog_conf.html 
937096
# If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html
937096
937096
#### MODULES ####
937096
937096
module(load="imuxsock" 	  # provides support for local system logging (e.g. via logger command)
937096
       SysSock.Use="off") # Turn off message reception via local log socket; 
937096
			  # local messages are retrieved through imjournal now.
937096
module(load="imjournal" 	    # provides access to the systemd journal
937096
       StateFile="imjournal.state") # File to store the position in the journal
937096
#module(load="imklog") # reads kernel messages (the same are read from journald)
937096
#module(load"immark") # provides --MARK-- message capability
937096
937096
# Provides UDP syslog reception
937096
# for parameters see http://www.rsyslog.com/doc/imudp.html
937096
#module(load="imudp") # needs to be done just once
937096
#input(type="imudp" port="514")
937096
937096
# Provides TCP syslog reception
937096
# for parameters see http://www.rsyslog.com/doc/imtcp.html
937096
#module(load="imtcp") # needs to be done just once
937096
#input(type="imtcp" port="514")
937096
937096
#### GLOBAL DIRECTIVES ####
937096
937096
# Where to place auxiliary files
937096
global(workDirectory="/var/lib/rsyslog")
937096
937096
# Use default timestamp format
937096
module(load="builtin:omfile" Template="RSYSLOG_TraditionalFileFormat")
937096
937096
# Include all config files in /etc/rsyslog.d/
937096
include(file="/etc/rsyslog.d/*.conf" mode="optional")
937096
937096
#### RULES ####
937096
937096
# Log all kernel messages to the console.
937096
# Logging much else clutters up the screen.
937096
#kern.*                                                 /dev/console
937096
937096
# Log anything (except mail) of level info or higher.
937096
# Don't log private authentication messages!
937096
*.info;mail.none;authpriv.none;cron.none                /var/log/messages
937096
937096
# The authpriv file has restricted access.
937096
authpriv.*                                              /var/log/secure
937096
937096
# Log all the mail messages in one place.
937096
mail.*                                                  -/var/log/maillog
937096
937096
937096
# Log cron stuff
937096
cron.*                                                  /var/log/cron
937096
937096
# Everybody gets emergency messages
937096
*.emerg                                                 :omusrmsg:*
937096
937096
# Save news errors of level crit and higher in a special file.
937096
uucp,news.crit                                          /var/log/spooler
937096
937096
# Save boot messages also to boot.log
937096
local7.*                                                /var/log/boot.log
937096
937096
937096
# ### sample forwarding rule ###
937096
#action(type="omfwd"  
937096
# An on-disk queue is created for this action. If the remote host is
937096
# down, messages are spooled to disk and sent when it is up again.
937096
#queue.filename="fwdRule1"       # unique name prefix for spool files
937096
#queue.maxdiskspace="1g"         # 1gb space limit (use as much as possible)
937096
#queue.saveonshutdown="on"       # save messages to disk on shutdown
937096
#queue.type="LinkedList"         # run asynchronously
937096
#action.resumeRetryCount="-1"    # infinite retries if host is down
937096
# Remote Logging (we use TCP for reliable delivery)
937096
# remote_host is: name/ip, e.g. 192.168.0.1, port optional e.g. 10514
937096
#Target="remote_host" Port="XXX" Protocol="tcp")