123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ;
- ; Logging Configuration
- ;
- ; In this file, you configure logging to files or to
- ; the syslog system.
- ;
- ; "logger reload" at the CLI will reload configuration
- ; of the logging system.
- [general]
- ; Customize the display of debug message time stamps
- ; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS)
- ; see strftime(3) Linux manual for format specifiers
- ;dateformat=%F %T
- ;
- ; This appends the hostname to the name of the log files.
- ;appendhostname = yes
- ;
- ;
- ; For each file, specify what to log.
- ;
- ; For console logging, you set options at start of
- ; Asterisk with -v for verbose and -d for debug
- ; See 'asterisk -h' for more information.
- ;
- ; Directory for log files is configures in asterisk.conf
- ; option astlogdir
- ;
- [logfiles]
- ;
- ; Format is "filename" and then "levels" of debugging to be included:
- ; debug
- ; notice
- ; warning
- ; error
- ; verbose
- ;
- ; Special filename "console" represents the system console
- ;
- ;debug => debug
- console => notice,warning,error
- ;console => notice,warning,error,debug
- messages => notice,warning,error
- ;full => notice,warning,error,debug,verbose
- ;
- ;syslog keyword : This special keyword logs to syslog facility
- ;
- ;syslog.local0 => notice,warning,error
- ;
|