50-default.conf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #######################
  2. ### DEFAULT ACTIONS ###
  3. #######################
  4. auth,authpriv.* action(
  5. type="omfile"
  6. File="/var/log/auth.log"
  7. FileCreateMode="0600"
  8. FileOwner="root"
  9. FileGroup="adm"
  10. Sync="off"
  11. )
  12. cron.* action(
  13. type="omfile"
  14. File="/var/log/cron.log"
  15. FileOwner="root"
  16. FileGroup="adm"
  17. )
  18. daemon.* action(
  19. type="omfile"
  20. File="/var/log/daemon.log"
  21. FileOwner="root"
  22. FileGroup="adm"
  23. )
  24. kern.* action(
  25. type="omfile"
  26. File="/var/log/kern.log"
  27. FileOwner="root"
  28. FileGroup="adm"
  29. )
  30. lpr.* action(
  31. type="omfile"
  32. File="/var/log/lpr.log"
  33. FileOwner="root"
  34. FileGroup="adm"
  35. )
  36. mail.* action(
  37. type="omfile"
  38. File="/var/log/mail.log"
  39. FileOwner="root"
  40. FileGroup="adm"
  41. )
  42. news.* action(
  43. type="omfile"
  44. File="/var/log/news.log"
  45. FileOwner="root"
  46. FileGroup="adm"
  47. )
  48. user.* action(
  49. type="omfile"
  50. File="/var/log/user.log"
  51. FileOwner="root"
  52. FileGroup="adm"
  53. )
  54. *.=debug;auth,authpriv,news,mail.none action(
  55. type="omfile"
  56. File="/var/log/debug.log"
  57. FileOwner="root"
  58. FileGroup="adm"
  59. )
  60. *.info;auth,authpriv,cron,daemon,lpr,mail,news.none action(
  61. type="omfile"
  62. File="/var/log/messages"
  63. FileOwner="root"
  64. FileGroup="adm"
  65. )
  66. # Uncomment the following directive to re-enable the
  67. # deprecated "/var/log/syslog" log file (don't forget to re-enable log
  68. # rotation in "/etc/logrotate.d/rsyslog" if you do that!)
  69. #*.*;auth,authpriv.none action(
  70. # type="omfile"
  71. # File="/var/log/syslog"
  72. # FileOwner="root"
  73. # FileGroup="adm"
  74. #)
  75. *.emerg action(
  76. type="omusrmsg"
  77. Users="*"
  78. action.execOnlyOnceEveryInterval="10"
  79. )
  80. # Create an additional socket for the default chroot location
  81. # (used by net-misc/openssh[hpn], see https://bugs.gentoo.org/490744)
  82. input(type="imuxsock" Socket="/var/empty/dev/log")