Info-Center Logging Suppress Duplicates - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.
Usage guidelines
The specified directory must have been created.
The suffix of the log file is .log. When the default directory has no enough space for storing the file, you
can specify a new directory for the log file.
The configuration made by this command cannot survive an IRF reboot or a master/subordinate
switchover.
Examples
# Create a directory named test under the root directory of the flash.
<Sysname> mkdir test
Directory flash:/test created.
# Set the directory to save the log file to flash:/test.
<Sysname> system-view
[Sysname] info-center logfile switch-directory flash:/test
Related commands
info-center logfile enable

info-center logging suppress duplicates

Use info-center logging suppress duplicates to enable duplicate log suppression.
Use undo info-center logging suppress duplicate to restore the default.
Syntax
info-center logging suppress duplicates
undo info-center logging suppress duplicates
Default
Duplicate log suppression is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Outputting consecutive duplicate logs at an interval of less than 30 seconds wastes system and network
resources, making it difficult for network administrators to locate useful information and maintain the
device.
With this feature enabled, the system starts a suppression period when outputting a new log:
During the suppression period, the system does not output logs with the same module name, level,
mnemonic, location, and text as the previous log.
64

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents