[asterisk-users] log debug (SOLVED)

Marek Červenka cervajs at fpf.slu.cz
Fri Jun 24 04:25:21 CDT 2016


some very bad guy (maybe me) set global debug to 3 and forgot

hint

check

asterisk*CLI> core show settings

PBX Core settings
-----------------
   Version:                     13.9.1
   Build Options:               LOADABLE_MODULES, OPTIONAL_API
   Maximum calls:               Not set
   Maximum open file handles:   Not set
   Root console verbosity:      0
   Current console verbosity:   0
   Debug level:                 0
   Maximum load average:        0.000000
   Minimum free memory:         0 MB
   Startup time:                19:03:23


question
is performance worse if debug level is higher than 1 but no logger.conf 
options logs debug data?


Dne 24.6.2016 v 11:16 Marek Červenka napsal(a):
> hi,
>
> i want debug only app_queue  (asterisk 13.9)
>
> i have this configuration
>
> [general]
> [logfiles]
> console => notice,warning,error
> messages => notice,warning,error
> ;full => notice,warning,error,debug,verbose
> debug => debug
>
> syslog.local1 => warning,error
>
> but after
>
> asterisk*CLI> core set debug 1 app_queue
> Core debug was 0 and has been set to 1 for 'app_queue'.
>
> i see a ton of
>
> [Jun 24 11:11:45] DEBUG[26980][C-0000251e] audiohook.c: Write factory 
> 0xc86229c was pretty quick last time, waiting for them.
> [Jun 24 11:11:45] DEBUG[26434][C-00002516] audiohook.c: Read factory 
> 0x91fc247c was pretty quick last time, waiting for them.
> [Jun 24 11:11:45] DEBUG[26980][C-0000251e] audiohook.c: Write factory 
> 0xc86229c was pretty quick last time, waiting for them.
> [Jun 24 11:11:45] DEBUG[26980][C-0000251e] audiohook.c: Write factory 
> 0xc86229c was pretty quick last time, waiting for them.
>
> is it possible to see only debug for app_queue?
>
>


-- 
---------------------------------------
Marek Cervenka
=======================================




More information about the asterisk-users mailing list