2
0

console.conf.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <configuration name="console.conf" description="Console Logger">
  2. <!-- pick a file name, a function name or 'all' -->
  3. <!-- map as many as you need for specific debugging -->
  4. <mappings>
  5. <!--
  6. name can be a file name, function name or 'all'
  7. value is one or more of debug,info,notice,warning,err,crit,alert,all
  8. See examples below
  9. The following map is the default, which is all debug levels enabled:
  10. <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
  11. Example: the following turns on debugging for error and critical levels only
  12. <map name="all" value="err,crit"/>
  13. NOTE: using map name="all" will override any other settings! If you
  14. want a more specific set of console messages then you will need
  15. to specify which files and/or functions you want to have debug
  16. messages. One option is to turn on just the more critical
  17. messages with map name="all", then specify the other types of
  18. console messages you want to see for various files and functions.
  19. Example: turn on ERROR, CRIT, ALERT for all modules, then specify other
  20. levels for various modules and functions
  21. <map name="all" value="err,crit,alert"/>
  22. <map name="switch_loadable_module_process" value="all"/>
  23. <map name="mod_local_stream.c" value="warning,debug"/>
  24. <map name="mod_sndfile.c" value="warning,info,debug"/>
  25. -->
  26. <map name="all" value="console,debug,info,notice,warning,err,crit,alert"/>
  27. <!--
  28. You can use or modify this sample set of mappings. It turns on higher
  29. level messages for all modules and then specifies extra lower level
  30. messages for Freetdm, Sofia, and switch core messages.
  31. <map name="all" value="warning,err,crit,alert"/>
  32. <map name="zap_analog.c" value="all"/>
  33. <map name="zap_io.c" value="all"/>
  34. <map name="zap_isdn.c" value="all"/>
  35. <map name="zap_zt.c" value="all"/>
  36. <map name="mod_freetdm" value="all"/>
  37. <map name="sofia.c" value="notice"/>
  38. <map name="switch_core_state_machine.c" value="all"/>
  39. -->
  40. </mappings>
  41. <settings>
  42. <!-- comment or set to false for no color logging -->
  43. <param name="colorize" value="true"/>
  44. <param name="loglevel" value="$${console_loglevel}"/>
  45. </settings>
  46. </configuration>