Advertisement
Guest User

/etc/rsyslog.d/client.conf

a guest
Mar 3rd, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. # This file is managed by Puppet, changes may be overwritten
  2.  
  3. # Change rate limiting to allow for things like updates traffic to swamp to loghost.
  4. $SystemLogRateLimitInterval 5
  5. $SystemLogRateLimitBurst 3000
  6.  
  7. # An "In-Memory Queue" is created for remote logging.
  8. $WorkDirectory /var/lib/rsyslog # where to place spool files
  9. $ActionQueueFileName queue # unique name prefix for spool files
  10. $ActionQueueMaxDiskSpace 2g # spool space limit (use as much as possible)
  11. $ActionQueueSaveOnShutdown on # save messages to disk on shutdown
  12. $ActionQueueType LinkedList # run asynchronously
  13. $ActionResumeRetryCount -1 # infinety retries if host is down
  14.  
  15. # Use high precision timestamp format.
  16. $ActionFileDefaultTemplate RSYSLOG_FileFormat
  17.  
  18. # Setup SSL connection.
  19. # CA/Cert
  20. $DefaultNetStreamDriverCAFile /var/lib/puppet/ssl/certs/www1.drupal.org.pem
  21.  
  22. # Connection settings.
  23. $DefaultNetstreamDriver gtls
  24. $ActionSendStreamDriverMode 1
  25. $ActionSendStreamDriverAuthMode anon
  26.  
  27. # Log to remote syslog server using tcp
  28. *.* @@loghost.drupal.org:514;RSYSLOG_ForwardFormat
  29. # Logging locally.
  30.  
  31. # Log auth messages locally
  32. auth,authpriv.* /var/log/secure
  33. # Log all kernel messages to the console.
  34. # Logging much else clutters up the screen.
  35. kern.* /var/log/kern.log
  36.  
  37. # Log anything (except mail) of level info or higher.
  38. # Don't log private authentication messages!
  39. *.info;mail.none;authpriv.none;cron.none /var/log/messages
  40.  
  41. # Log all the mail messages in one place.
  42. mail.* -/var/log/maillog
  43.  
  44.  
  45. # Log cron stuff
  46. cron.* /var/log/cron
  47.  
  48. # Everybody gets emergency messages
  49. *.emerg *
  50.  
  51. # Save news errors of level crit and higher in a special file.
  52. uucp,news.crit -/var/log/spooler
  53.  
  54. # Save boot messages also to boot.log
  55. local7.* -/var/log/boot.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement