rsyslog.conf 458 B

1234567891011121314151617181920
  1. $ModLoad imuxsock # provides support for local system logging
  2. $ModLoad imklog # provides kernel logging support
  3. # provides UDP syslog reception
  4. #$ModLoad imudp
  5. #$UDPServerRun 514
  6. # provides TCP syslog reception
  7. #$ModLoad imtcp
  8. #$InputTCPServerRun 514
  9. $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
  10. $FileOwner root
  11. $FileGroup adm
  12. $FileCreateMode 0640
  13. $DirCreateMode 0755
  14. $Umask 0022
  15. $WorkDirectory /var/spool/rsyslog
  16. *.* -/var/log/messages