Go to the first, previous, next, last section, table of contents.


Debugging

GNU Radius provides extensive debugging features. These are enabled either by -x command option to the radiusd section How to Start the Daemon., or by level statement in debug category section logging block. Both cases require as an argument a valid debug specification.

A debug specification sets the module for which the debugging should be enabled and debugging level. The higher the level is, the more detailed information is provided. The module name and level are separated by an equal sign. If the level is omitted, the highest possible level (100) is assumed. The module name may be abbreviated to first N characters, in which case the first matching module is selected. Several such specifications can be specified, in which case they should be separated by a comma. For example, the following is a valid debug specification:

            proxy.c=10,files.c,config.y=1

It sets debug level 10 for module proxy.c, level 100 for files.c, and 1 for config.y.

The modules and debugging levels are subject to change from release to release.


Go to the first, previous, next, last section, table of contents.