Configuration manual
9. System Log Management
98
www.qtech.ru
9.2.3
Configure a Log Task Name
Configuration Condition
None
Configure a Log Task Name
After a name is configured for a log task, users can easily learn that from which system the task
is outputted.
Table 9-9 Configuring a log task name
Step
Command
Description
Enter
the
global
configuration mode.
configure terminal
-
Configure a log task
name.
service taskname [ debug
| log ]
Mandatory.
By default, a task name is
not
added
into
log
information.
9.2.4
Configure the Log Filtration Function
Configuration Condition
None
Configure the Log Filtration Function
When configuring log filtration, you can not only specify the filtration string to be displayed,
but also specify the string to be filtered out and specify the log level range. In using the
command, the filtration string must be used together with the log level range.
Table 9-10 Configuring the log filtration function
Step
Command
Description
Enter
the
global
configuration mode.
configure terminal
-
Configure
the
log
filtration function.
logging filter { exclude
exclude-string | include
include-string | level high-
level low-level }
Optional.
By
default,
the
log
filtration
function
is
disabled.