rsyslog.conf 508 B

123456789101112131415161718
  1. module(load="imuxsock")
  2. module(load="imklog")
  3. module(load="imudp")
  4. input(type="imudp" port="514")
  5. #module(load="imtcp")
  6. #input(type="imtcp" port="514")
  7. $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
  8. *.info;mail.none;authpriv.none;cron.none /var/log/messages
  9. authpriv.* /var/log/secure
  10. mail.* /var/log/maillog
  11. cron.* /var/log/cron
  12. local7.* /var/log/boot.log