Configuration manual
9. System Log Management
100
www.qtech.ru
informational
Green
debugging
Green
Table 9-11 Configuring log display colors
Step
Command
Description
Enter
the
global
configuration mode.
configure terminal
-
Configure a color for logs
of a level.
logging color [ logging-
level [ logging-color ] ]
Optional.
By default, each log level
has a corresponding log
display color.
If the control console or monitor console needs to output log information in
different colors, you need to configure the color option of the terminals;
otherwise, no color is displayed for the log information.
9.2.7
System Log Monitoring and Maintaining
Table 9-12 System log monitoring and maintaining
Command
Description
clear logging [ buffer | file ]
Clear log information of the device.
show logging [ buffer | file ]
Display the log information that is stored in the
memory or flash memory.
show logging filter
Display the filtration configuration of logs.
show logging [ syslog ] message-
counter
Display the size of log files and number of log
records.
show logging time / level
Display logs according to the log level or log time
range.