logger.conf.sample 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ;
  2. ; Logging Configuration
  3. ;
  4. ; In this file, you configure logging to files or to
  5. ; the syslog system.
  6. ;
  7. ; "logger reload" at the CLI will reload configuration
  8. ; of the logging system.
  9. [general]
  10. ; Customize the display of debug message time stamps
  11. ; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS)
  12. ; see strftime(3) Linux manual for format specifiers
  13. ;dateformat=%F %T
  14. ;
  15. ; This appends the hostname to the name of the log files.
  16. ;appendhostname = yes
  17. ;
  18. ;
  19. ; For each file, specify what to log.
  20. ;
  21. ; For console logging, you set options at start of
  22. ; Asterisk with -v for verbose and -d for debug
  23. ; See 'asterisk -h' for more information.
  24. ;
  25. ; Directory for log files is configures in asterisk.conf
  26. ; option astlogdir
  27. ;
  28. [logfiles]
  29. ;
  30. ; Format is "filename" and then "levels" of debugging to be included:
  31. ; debug
  32. ; notice
  33. ; warning
  34. ; error
  35. ; verbose
  36. ;
  37. ; Special filename "console" represents the system console
  38. ;
  39. ;debug => debug
  40. console => notice,warning,error
  41. ;console => notice,warning,error,debug
  42. messages => notice,warning,error
  43. ;full => notice,warning,error,debug,verbose
  44. ;
  45. ;syslog keyword : This special keyword logs to syslog facility
  46. ;
  47. ;syslog.local0 => notice,warning,error
  48. ;