Author: brian Date: Thu Feb 14 17:47:10 2008 New Revision: 7616 Modified: freeswitch/trunk/conf/autoload_configs/console.conf.xml Log: thanks mcollins Modified: freeswitch/trunk/conf/autoload_configs/console.conf.xml ============================================================================== --- freeswitch/trunk/conf/autoload_configs/console.conf.xml (original) +++ freeswitch/trunk/conf/autoload_configs/console.conf.xml Thu Feb 14 17:47:10 2008 @@ -3,9 +3,33 @@ <!-- map as many as you need for specific debugging --> <mappings> <!-- - name can be a file name, function name or 'all' - value is one or more of debug,info,notice,warning,err,crit,alert,all - --> + name can be a file name, function name or 'all' + value is one or more of debug,info,notice,warning,err,crit,alert,all + See examples below + + + The following map is the default, which is all debug levels enabled: + <map name="all" value="debug,info,notice,warning,err,crit,alert"/> + + + Example: the following turns on debugging for error and critical levels only + <map name="all" value="err,crit"/> + + NOTE: using map name="all" will override any other settings! If you + want a more specific set of console messages then you will need + to specify which files and/or functions you want to have debug + messages. One option is to turn on just the more critical + messages with map name="all", then specify the other types of + console messages you want to see for various files and functions. + + Example: turn on ERROR, CRIT, ALERT for all modules, then specify other + levels for various modules and functions + + <map name="all" value="err,crit,alert"/> + <map name="switch_loadable_module_process" value="all"/> + <map name="mod_local_stream.c" value="warning,debug"/> + <map name="mod_sndfile.c" value="warning,info,debug"/> + --> <map name="all" value="debug,info,notice,warning,err,crit,alert"/> </mappings> <settings>