Info-Center Format - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

. See
warning
applies to logs of the specified severity level and all higher levels.
Usage guidelines
A log output filter contains a set of log output filter rules for modules. You can use this command to
create multiple log output filters. When specifying a log host, you can apply a log output filter to
control log output to the log host.
You can also use the
host output destination. The system chooses the settings to control log output to a log host in the
following order:
1.
Log output filter specified for the log host by using the
2.
Log output rules configured for the log host output destination by using the
source
3.
Default log output rules (see
Follow these restrictions and guidelines when you configure a log output filter:
To set a log output filter rule for a module, use the
module name.
If you set log output filter rules for the same module multiple times, the most recent
configuration takes effect.
To set a general log output filter rule for all modules, use the
log output filter rule applies to all modules that do not have module-specific filter rules.
If you set a general log output filter rule multiple times, the most recent configuration takes
effect.
If no general log output filter rule is set, the system outputs logs with severity levels
informational through alert for modules that do not have module-specific filter rules.
To remove a module-specific log output filter rule, you must use the
If you do not specify any parameters, the entire log output filter is deleted.
Examples
# Create log output filter loghost1. In the log output filter, enable the ARP module to output logs with
severity levels notification through alert, and disable log output of all other modules.
<Sysname> system-view
[
]
Sysname
[
]
Sysname
Related commands
display info-center filter
info-center loghost
info-center source

info-center format

Use
info-center format
Use
undo info-center format
Syntax
info-center format { cmcc | unicom }
undo info-center format
Table 3
for more information about the log severity levels. The log output filter
info-center source
command.
info-center filter loghost1 arp level notification
info-center filter loghost1 default deny
to set the format for logs sent to log hosts.
command to configure log output rules for the log
Table
8).
module-name
to restore the default.
13
info-center loghost
info-center
argument to specify the
keyword. The general
default
module-name
command.
argument.

Advertisement

Table of Contents
loading

Table of Contents