2 ; Logging Configuration
4 ; In this file, you configure logging to files or to
7 ; "logger reload" at the CLI will reload configuration
8 ; of the logging system.
12 ; Customize the display of debug message time stamps
13 ; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS)
15 ; see strftime(3) Linux manual for format specifiers. Note that there is also
16 ; a fractional second parameter which may be used in this field. Use %1q
17 ; for tenths, %2q for hundredths, etc.
19 ;dateformat=%F %T ; ISO 8601 date format
20 ;dateformat=%F %T.%3q ; with milliseconds
22 ; This appends the hostname to the name of the log files.
25 ; This determines whether or not we log queue events to a file
29 ; Set the queue_log filename
30 ; (defaults to queue_log)
31 ;queue_log_name = queue_log
33 ; Log rotation strategy:
34 ; sequential: Rename archived logs in order, such that the newest
35 ; has the highest sequence number [default].
36 ; rotate: Rotate all the old files, such that the oldest has the
37 ; highest sequence number [this is the expected behavior
38 ; for Unix administrators].
39 ; timestamp: Rename the logfiles using a timestamp instead of a
40 ; sequence number when "logger rotate" is executed.
41 ;rotatestrategy = rotate
43 ; Run a system command after rotating the files. This is mainly
44 ; useful for rotatestrategy=rotate. The example allows the last
45 ; two archive files to remain uncompressed, but after that point,
46 ; they are compressed on disk.
48 ; exec_after_rotate=gzip -9 ${filename}.2
50 ; This determines whether or not we log generic events to a file
55 ; For each file, specify what to log.
57 ; For console logging, you set options at start of
58 ; Asterisk with -v for verbose and -d for debug
59 ; See 'asterisk -h' for more information.
61 ; Directory for log files is configures in asterisk.conf
66 ; Format is "filename" and then "levels" of debugging to be included:
74 ; Special filename "console" represents the system console
76 ; We highly recommend that you DO NOT turn on debug mode if you are simply
77 ; running a production system. Debug mode turns on a LOT of extra messages,
78 ; most of which you are unlikely to understand without an understanding of
79 ; the underlying code. Do NOT report debug messages as code issues, unless
80 ; you have a specific issue that you are attempting to debug. They are
81 ; messages for just that -- debugging -- and do not rise to the level of
82 ; something that merit your attention as an Asterisk administrator. Debug
83 ; messages are also very verbose and can and do fill up logfiles quickly;
84 ; this is another reason not to have debug mode on a production system unless
85 ; you are in the process of debugging a specific issue.
88 console => notice,warning,error
89 ;console => notice,warning,error,debug
90 messages => notice,warning,error
91 ;full => notice,warning,error,debug,verbose
93 ;syslog keyword : This special keyword logs to syslog facility
95 ;syslog.local0 => notice,warning,error