| 1 |
; |
|---|
| 2 |
; Logging Configuration |
|---|
| 3 |
; |
|---|
| 4 |
; In this file, you configure logging to files or to |
|---|
| 5 |
; the syslog system. |
|---|
| 6 |
; |
|---|
| 7 |
; see: http://www.voip-info.org/wiki/view/Asterisk+debugging |
|---|
| 8 |
; see: http://www.voip-info.org/wiki/index.php?page=Asterisk+config+logger.conf |
|---|
| 9 |
; |
|---|
| 10 |
; For each file, specify what to log. |
|---|
| 11 |
; |
|---|
| 12 |
; For console logging, you set options at start of |
|---|
| 13 |
; Asterisk with -v for verbose and -d for debug |
|---|
| 14 |
; See 'asterisk -h' for more information. |
|---|
| 15 |
; |
|---|
| 16 |
; Directory for log files is configures in asterisk.conf |
|---|
| 17 |
; option astlogdir |
|---|
| 18 |
; |
|---|
| 19 |
[logfiles] |
|---|
| 20 |
; |
|---|
| 21 |
; Format is "filename" and then "levels" of debugging to be included: |
|---|
| 22 |
; debug |
|---|
| 23 |
; notice |
|---|
| 24 |
; warning |
|---|
| 25 |
; error |
|---|
| 26 |
; verbose |
|---|
| 27 |
; |
|---|
| 28 |
; Special filename "console" represents the system console |
|---|
| 29 |
; |
|---|
| 30 |
;debug => debug |
|---|
| 31 |
;console => notice,warning,error |
|---|
| 32 |
;console => notice,warning,error,debug |
|---|
| 33 |
;messages => notice,warning,error |
|---|
| 34 |
;full => notice,warning,error,debug,verbose |
|---|
| 35 |
|
|---|
| 36 |
;; |
|---|
| 37 |
;; work arround, if nothing is displayed to the console, |
|---|
| 38 |
;; commands like "asterisk -rx reload" will hang up |
|---|
| 39 |
;; se internal ticket #88 |
|---|
| 40 |
console => notice,warning,error |
|---|
| 41 |
|
|---|
| 42 |
;syslog keyword : This special keyword logs to syslog facility |
|---|
| 43 |
; |
|---|
| 44 |
;syslog.local0 => notice,warning,error |
|---|
| 45 |
; |
|---|