Guest User

Untitled

a guest
Jan 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. [general]
  2. ;rotatestrategy=timestamp
  3. [logfiles]
  4. console => notice,error,warning
  5. messages => notice,warning,error
  6. full => notice,warning,error,debug,verbose,dtmf,fax
  7. warning => warning
  8. error => error
  9.  
  10. syslog.local0 => warning,error
  11.  
  12. # Log anything (except mail) of level info or higher.
  13. # Don't log private authentication messages!
  14. *.info;mail.none;authpriv.none;cron.none;local0.none /var/log/messages
  15.  
  16. # The authpriv file has restricted access.
  17. authpriv.* /var/log/secure
  18.  
  19. # Log all the mail messages in one place.
  20. mail.* -/var/log/maillog
  21.  
  22.  
  23. # Log cron stuff
  24. cron.* /var/log/cron
  25.  
  26. # Everybody gets emergency messages
  27. *.emerg :omusrmsg:*
  28.  
  29. # Save news errors of level crit and higher in a special file.
  30. uucp,news.crit /var/log/spooler
  31.  
  32. # Save boot messages also to boot.log
  33. local7.* /var/log/boot.log
  34.  
  35. local0.* /var/log/asterisk/full
  36.  
  37. # ### begin forwarding rule ###
  38. # The statement between the begin ... end define a SINGLE forwarding
  39. # rule. They belong together, do NOT split them. If you create multiple
  40. # forwarding rules, duplicate the whole block!
  41. # Remote Logging (we use TCP for reliable delivery)
  42. #
  43. # An on-disk queue is created for this action. If the remote host is
  44. # down, messages are spooled to disk and sent when it is up again.
  45. #$ActionQueueFileName fwdRule1 # unique name prefix for spool files
  46. #$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
  47. #$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
  48. #$ActionQueueType LinkedList # run asynchronously
  49. #$ActionResumeRetryCount -1 # infinite retries if host is down
  50. # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
  51. #*.* @@remote-host:514
  52. local0.* @172.16.10.234:9901
  53. # ### end of the forwarding rule ###
Add Comment
Please, Sign In to add comment