Tracing levels
determine how much information should be stored about a module in the trace
buffer or file.
The following table
shows all the tracing levels that are available and provides descriptions of
what types of messages are displayed with each tracing level.
Table 1. Tracing Levels and
Descriptions
Tracing Level
|
Level Number
|
Description
|
Emergency
|
0
|
The message is
regarding an issue that makes the system unusable.
|
Alert
|
1
|
The message
is regarding an action that must be taken immediately.
|
Critical
|
2
|
The message
is regarding a critical condition. This is the default setting for every module
on the router.
|
Error
|
3
|
The message
is regarding a system error.
|
Warning
|
4
|
The message
is regarding a system warning.
|
Notice
|
5
|
The message
is regarding a significant issue, but the router is still working normally.
|
Informational
|
6
|
The message
is useful for informational purposes only.
|
Debug
|
7
|
The message
provides debug-level output.
|
Verbose
|
8
|
All possible
tracing messages are sent.
|
Noise
|
—
|
All possible
trace messages pertaining to a module are logged.
The noise
level is always equal to the highest possible tracing level. Even if a future
enhancement to tracing introduces a higher tracing level than verbose level,
the noise level will become equal to the level of the newly introduced tracing
level.
|
If a tracing level is
set, messages are collected from both lower tracing levels and from its own
level.
For example, setting
the tracing level to 3 (error) means that the trace file will contain output
messages for levels: 0 (emergencies), 1 (alerts), 2 (critical), and 3 (error).
If you set the trace
level to 4 (warning), it results in output messages for levels: 0
(emergencies), 1 (alerts), 2 (critical), 3 (error), and 4 (warning).
The default tracing
level for every module on the router is 5 (notice).
A tracing level is not
set in a configuration mode, which results in tracing-level settings being
returned to default values after the router reloads.
Caution
|
Setting the
tracing level of a module to debug level or higher can have a negative impact
on the performance.
|
Caution
|
Setting high
tracing levels on a large number of modules can severely degrade performance.
If a high tracing level is required in a specific context, it is almost always
preferable to set the tracing level of a single module to a higher level rather
than setting multiple modules to high levels.
|