Advertisement
Guest User

Untitled

a guest
Dec 8th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 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.* /var/log/cron.log
  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.warn -/var/log/mail.warn
  23. mail.err /var/log/mail.err
  24.  
  25. #
  26. # Logging for INN news system.
  27. #
  28. news.crit /var/log/news/news.crit
  29. news.err /var/log/news/news.err
  30. news.notice -/var/log/news/news.notice
  31.  
  32. #
  33. # Some "catch-all" log files.
  34. #
  35. #*.=debug;\
  36. # auth,authpriv.none;\
  37. # news.none;mail.none -/var/log/debug
  38. #*.=info;*.=notice;*.=warn;\
  39. # auth,authpriv.none;\
  40. # cron,daemon.none;\
  41. # mail,news.none -/var/log/messages
  42.  
  43. #
  44. # Emergencies are sent to everybody logged in.
  45. #
  46. *.emerg :omusrmsg:*
  47. #
  48. # I like to have messages displayed on the console, but only on a virtual
  49. # console I usually leave idle.
  50. #
  51. #daemon,mail.*;\
  52. # news.=crit;news.=err;news.=notice;\
  53. # *.=debug;*.=info;\
  54. # *.=notice;*.=warn /dev/tty8
  55.  
  56. # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
  57. # you must invoke `xconsole' with the `-file' option:
  58. #
  59. # $ xconsole -file /dev/xconsole [...]
  60. #
  61. # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
  62. # busy site..
  63. #
  64. daemon.*;mail.*;\
  65. news.err;\
  66. *.=debug;*.=info;\
  67. *.=notice;*.=warn |/dev/xconsole
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement