2002-02-11 04:25:04 +00:00
|
|
|
;
|
|
|
|
; Logging Configuration
|
|
|
|
;
|
2004-01-28 21:13:50 +00:00
|
|
|
; In this file, you configure logging to files or to
|
|
|
|
; the syslog system.
|
2005-03-17 15:56:55 +00:00
|
|
|
;
|
|
|
|
; "logger reload" at the CLI will reload configuration
|
|
|
|
; of the logging system.
|
2004-05-18 05:47:27 +00:00
|
|
|
|
|
|
|
[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
|
2004-09-05 03:48:05 +00:00
|
|
|
;
|
|
|
|
; This appends the hostname to the name of the log files.
|
|
|
|
;appendhostname = yes
|
|
|
|
;
|
2005-03-11 08:49:01 +00:00
|
|
|
; This determines whether or not we log queue events to a file (defaults to yes).
|
|
|
|
;queue_log = no
|
|
|
|
;
|
|
|
|
; This determines whether or not we log generic events to a file (defaults to yes).
|
|
|
|
;event_log = no
|
|
|
|
;
|
2004-01-28 21:13:50 +00:00
|
|
|
;
|
|
|
|
; 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
|
|
|
|
;
|
2002-02-11 04:25:04 +00:00
|
|
|
[logfiles]
|
|
|
|
;
|
|
|
|
; Format is "filename" and then "levels" of debugging to be included:
|
|
|
|
; debug
|
|
|
|
; notice
|
|
|
|
; warning
|
|
|
|
; error
|
2004-01-28 21:13:50 +00:00
|
|
|
; verbose
|
2005-08-22 21:19:59 +00:00
|
|
|
; dtmf
|
2002-02-11 04:25:04 +00:00
|
|
|
;
|
|
|
|
; Special filename "console" represents the system console
|
|
|
|
;
|
2005-07-20 00:16:15 +00:00
|
|
|
; We highly recommend that you DO NOT turn on debug mode if you
|
|
|
|
; are simply running a production system. Debug mode turns on a
|
|
|
|
; LOT of extra messages, most of which you are unlikely to understand
|
|
|
|
; without an understanding of the underlying code. Do NOT report
|
|
|
|
; debug messages as code issues, unless you have a specific issue that
|
|
|
|
; you are attempting to debug. They are messages for just that --
|
|
|
|
; debugging -- and do not rise to the level of something that merit
|
|
|
|
; your attention as an Asterisk administrator. Debug messages are also
|
|
|
|
; very verbose and can and do fill up logfiles quickly; this is another
|
|
|
|
; reason not to have debug mode on a production system unless you are
|
|
|
|
; in the process of debugging a specific issue.
|
|
|
|
;
|
2002-02-11 04:25:04 +00:00
|
|
|
;debug => debug
|
|
|
|
console => notice,warning,error
|
2003-09-28 20:05:12 +00:00
|
|
|
;console => notice,warning,error,debug
|
2002-02-11 04:25:04 +00:00
|
|
|
messages => notice,warning,error
|
2004-01-27 00:23:39 +00:00
|
|
|
;full => notice,warning,error,debug,verbose
|
2003-11-26 22:00:07 +00:00
|
|
|
|
|
|
|
;syslog keyword : This special keyword logs to syslog facility
|
|
|
|
;
|
2004-01-12 05:05:35 +00:00
|
|
|
;syslog.local0 => notice,warning,error
|
|
|
|
;
|