Advertisement
arthur-littlepaws

Untitled

Dec 29th, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. # Default rules for rsyslog.
  2. #
  3. # For more information see rsyslog.conf(5) and /etc/rsyslog.conf
  4.  
  5. #
  6. # First some standard log files. Log by facility.
  7. #
  8. auth,authpriv.* /var/log/auth.log
  9. *.*;auth,authpriv.none -/var/log/syslog
  10. cron.* *
  11. daemon.* -/var/log/daemon.log
  12. kern.* -/var/log/kern.log
  13. lpr.* -/var/log/lpr.log
  14. mail.* -/var/log/mail.log
  15. user.* -/var/log/user.log
  16.  
  17. #
  18. # Logging for the mail system. Split it up so that
  19. # it is easy to write scripts to parse these files.
  20. #
  21. mail.info -/var/log/mail.info
  22. mail.warning -/var/log/mail.warn
  23. mail.err /var/log/mail.err
  24.  
  25. #
  26. # Some "catch-all" log files.
  27. #
  28. #*.=debug;\
  29. # auth,authpriv.none;\
  30. news.none;mail.none -/var/log/debug
  31. #*.=info;*.=notice;*.=warn;\
  32. # auth,authpriv.none;\
  33. # cron,daemon.none;\
  34. mail,news.none -/var/log/messages
  35.  
  36. #
  37. # Emergencies are sent to everybody logged in.
  38. #
  39. *.emerg :omusrmsg:*
  40.  
  41. #
  42. # I like to have messages displayed on the console, but only on a virtual
  43. # console I usually leave idle.
  44. #
  45. #daemon,mail.*;\
  46. # news.=crit;news.=err;news.=notice;\
  47. # *.=debug;*.=info;\
  48. *.=notice;*.=warning /dev/tty8
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement