7 |
@cindex Debugging |
@cindex Debugging |
8 |
|
|
9 |
GNU Radius provides extensive debugging features. These are enabled |
GNU Radius provides extensive debugging features. These are enabled |
10 |
either by @option{-x} command option to the @command{radiusd} |
either by the @option{-x} command option to @command{radiusd} |
11 |
@ref{Invocation}, or by @code{level} statement in debug category |
@ref{Invocation}, or by the @code{level} statement in the debug category |
12 |
@ref{logging,,logging statement}. Both cases require as an argument |
(@ref{logging,,logging statement}). Both cases require as an argument |
13 |
a valid debug specification. |
a valid debug specification. |
14 |
|
|
15 |
A debug specification sets the module for which the debugging should |
A debug specification sets the module for which the debugging should |
16 |
be enabled and debugging level. The higher the level is, the more |
be enabled and the debugging level. The higher the level is, the more |
17 |
detailed information is provided. The module name and level are |
detailed information is provided. The module name and level are |
18 |
separated by an equal sign. If the level is omitted, the highest |
separated by an equal sign. If the level is omitted, the highest |
19 |
possible level (100) is assumed. The module name may be abbreviated |
possible level (100) is assumed. The module name may be abbreviated |
20 |
to first N characters, in which case the first matching module is |
to the first @math{N} characters, in which case the first matching module is |
21 |
selected. Several such specifications can be specified, in which case |
selected. Several such specifications can be specified, in which case |
22 |
they should be separated by a comma. For example, the following is a |
they should be separated by commas. For example, the following is a |
23 |
valid debug specification: |
valid debug specification: |
24 |
@example |
@example |
25 |
proxy.c=10,files.c,config.y=1 |
proxy.c=10,files.c,config.y=1 |
26 |
@end example |
@end example |
27 |
|
|
28 |
@noindent |
@noindent |
29 |
It sets debug level 10 for module @code{proxy.c}, level 100 for |
It sets debug level 10 for module @code{proxy.c}, 100 for |
30 |
@code{files.c}, and 1 for @code{config.y}. |
@code{files.c}, and 1 for @code{config.y}. |
31 |
|
|
32 |
The modules and debugging levels are subject to change from release |
The modules and debugging levels are subject to change from release |
33 |
to release. |
to release. |
34 |
|
|
35 |
@c The following describes shortly the debugging levels for this release |
@c The following describes briefly the debugging levels for this release |
36 |
@c of GNU Radius (@value{VERSION}. |
@c of GNU Radius (@value{VERSION}). |
37 |
|
|
38 |
@c @include debug.texinfo |
@c @include debug.texinfo |
39 |
|
|