123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- #
- # /etc/rsyslog.conf Configuration file for rsyslog. (Salt managed)
- #
- # For more information see
- # /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
- #################
- #### MODULES ####
- #################
- $ModLoad imuxsock # provides support for local system logging
- $ModLoad imklog # provides kernel logging support
- #$ModLoad immark # provides --MARK-- message capability
- # provides UDP syslog reception
- $ModLoad imudp
- $UDPServerRun 514
- # provides TCP syslog reception
- $ModLoad imtcp
- $InputTCPServerRun 514
- ###########################
- #### GLOBAL DIRECTIVES ####
- ###########################
- #
- # Use traditional timestamp format.
- # To enable high precision timestamps, comment out the following line.
- #
- $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
- #
- # Set the default permissions for all log files.
- #
- $FileOwner root
- $FileGroup adm
- $FileCreateMode 0640
- $DirCreateMode 0755
- $Umask 0022
- #
- # Where to place spool and state files
- #
- $WorkDirectory /var/spool/rsyslog
- #
- # Include all config files in /etc/rsyslog-early.d/
- #
- $IncludeConfig /etc/rsyslog-early.d
|