Next: , Up: debugging


3.3.1 Level Syntax

Debug levels can be set either from the command line, by using the --debug-level command line option, or from the configuration file, using the ‘.debug.level’ statement. In both cases, the level is specified as a list of individual levels, delimited with semicolons. Each individual level can be specified as:

!category
Disables all levels for the specified category.
category
Enables all levels for the specified category.
category.level
For the given category, enables all levels from ‘error’ to level, inclusive.
category.=level
Enables only the given level for this category.
category.!level
Disables all levels from ‘error’ to level, inclusive, for this category.
category.!=level
Disables only the given level in this category.
category.levelA-levelB
Enables all levels in the range from levelA to levelB, inclusive.
category.!levelA-levelB
Disables all levels in the range from levelA to levelB, inclusive.

Additionally, a comma-separated list of level specifications is allowed after the dot. For example, the following specification:

     acl.prot,!=trace9,!trace2

enables in category ‘acl’ all levels, except ‘trace9’, ‘trace0’, ‘trace1’, and ‘trace2’.