| 1 |
; Common pjproject options |
| 2 |
; |
| 3 |
|
| 4 |
;[startup] |
| 5 |
; NOTES: The name of this section in the pjproject.conf configuration file must |
| 6 |
; remain startup or the configuration will not be applied. |
| 7 |
; |
| 8 |
;cache_pools = yes ; Cache pjproject memory pools for performance |
| 9 |
; Disable this option to help track down pool content |
| 10 |
; mismanagement when using valgrind or MALLOC_DEBUG. |
| 11 |
; The cache gets in the way of determining if the |
| 12 |
; pool contents are used after being freed and who |
| 13 |
; freed it. |
| 14 |
; Default yes |
| 15 |
;log_level=default ; Initial maximum pjproject logging level to log |
| 16 |
; Valid values are: 0-6, and default |
| 17 |
; |
| 18 |
; Note: This option is needed very early in the startup |
| 19 |
; process so it can only be read from config files because |
| 20 |
; the modules for other methods have not been loaded yet. |
| 21 |
;type= ; Must be of type startup (default: "") |
| 22 |
|
| 23 |
;========================LOG_MAPPINGS SECTION OPTIONS=============================== |
| 24 |
;[log_mappings] |
| 25 |
; SYNOPSIS: Provides pjproject to Asterisk log level mappings. |
| 26 |
; NOTES: The name of this section in the pjproject.conf configuration file must |
| 27 |
; remain log_mappings or the configuration will not be applied. |
| 28 |
; The defaults mentioned below only apply if this file or the 'log_mappings' |
| 29 |
; object can't be found. If the object is found, there are no defaults. If |
| 30 |
; you don't specify an entry, nothing will be logged for that level. |
| 31 |
; |
| 32 |
; These logging level meanings are typically used by pjproject: |
| 33 |
; - 0: fatal error |
| 34 |
; - 1: error |
| 35 |
; - 2: warning |
| 36 |
; - 3: info |
| 37 |
; - 4: debug |
| 38 |
; - 5: trace |
| 39 |
; - 6: more detailed trace |
| 40 |
; |
| 41 |
; Note: setting the pjproject debug level to 4 (debug) or above may result in |
| 42 |
; raw packets being logged. This should only be enabled during active debugging |
| 43 |
; to avoid a potential security issue due to logging injection. |
| 44 |
; |
| 45 |
;asterisk_error = ; A comma separated list of pjproject log levels to map to |
| 46 |
; Asterisk errors. |
| 47 |
; (default: "0,1") |
| 48 |
;asterisk_warning = ; A comma separated list of pjproject log levels to map to |
| 49 |
; Asterisk warnings. |
| 50 |
; (default: "2") |
| 51 |
;asterisk_notice = ; A comma separated list of pjproject log levels to map to |
| 52 |
; Asterisk notices. |
| 53 |
; (default: "") |
| 54 |
;asterisk_verbose = ; A comma separated list of pjproject log levels to map to |
| 55 |
; Asterisk verbose. |
| 56 |
; (default: "") |
| 57 |
;asterisk_debug = ; A comma separated list of pjproject log levels to map to |
| 58 |
; Asterisk debug |
| 59 |
; (default: "3,4") |
| 60 |
;asterisk_trace = ; A comma separated list of pjproject log levels to map to |
| 61 |
; Asterisk trace |
| 62 |
; (default: "5,6") |
| 63 |
;type= ; Must be of type log_mappings (default: "") |