Hrishee

/etc/rsyslog.d/50-default.conf

Jan 4th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. root@opennms-otrs:~# cat /etc/rsyslog.d/50-default.conf
  2. # Default rules for rsyslog.
  3. #
  4. # For more information see rsyslog.conf(5) and /etc/rsyslog.conf
  5.  
  6. #
  7. # First some standard log files. Log by facility.
  8. #
  9. auth,authpriv.* /var/log/auth.log
  10. *.*;auth,authpriv.none /var/log/syslog
  11. syslog.* /var/log/rsyslog.log #rsyslog error messages
  12. #cron.* /var/log/cron.log
  13. #daemon.* /var/log/daemon.log
  14. kern.* /var/log/kern.log
  15. #lpr.* /var/log/lpr.log
  16. mail.* /var/log/mail.log
  17. #user.* /var/log/user.log
  18.  
  19. #
  20. # Logging for the mail system. Split it up so that
  21. # it is easy to write scripts to parse these files.
  22. #
  23. #mail.info /var/log/mail.info
  24. #mail.warn /var/log/mail.warn
  25. mail.err /var/log/mail.err
  26.  
  27. #
  28. # Logging for INN news system.
  29. #
  30. news.crit /var/log/news/news.crit
  31. news.err /var/log/news/news.err
  32. news.notice /var/log/news/news.notice
  33.  
  34. #
  35. # Some "catch-all" log files.
  36. #
  37. #*.=debug;\
  38. # auth,authpriv.none;\
  39. # news.none;mail.none /var/log/debug
  40. #*.=info;*.=notice;*.=warn;\
  41. # auth,authpriv.none;\
  42. # cron,daemon.none;\
  43. # mail,news.none /var/log/messages
  44.  
  45. #
  46. # Emergencies are sent to everybody logged in.
  47. #
  48. *.emerg :omusrmsg:*
  49.  
  50. #
  51. # I like to have messages displayed on the console, but only on a virtual
  52. # console I usually leave idle.
  53. #
  54. #daemon,mail.*;\
  55. # news.=crit;news.=err;news.=notice;\
  56. # *.=debug;*.=info;\
  57. # *.=notice;*.=warn /dev/tty8
  58.  
  59. # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
  60. # you must invoke `xconsole' with the `-file' option:
  61. #
  62. # $ xconsole -file /dev/xconsole [...]
  63. #
  64. # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
  65. # busy site..
  66. #
  67. #
  68. # As this functionality is almost never needed, it is commented out. If you
  69. # need it, be sure to remove the comment characters below.
  70. #daemon.*;mail.*;\
  71. # news.err;\
  72. # *.=debug;*.=info;\
  73. # *.=notice;*.=warn |/dev/xconsole
  74. root@opennms-otrs:~#
Add Comment
Please, Sign In to add comment