Info-Center Logging Suppress Duplicates - HPE FlexNetwork 7500 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

Usage guidelines
The specified directory must have been created.
The suffix of a log file is .log. When the default directory has no enough space for storing the file, you
can specify a new log file storage directory.
The configuration made by this command cannot survive a reboot or an active/standby switchover.
(In standalone mode.)
The configuration made by this command cannot survive an IRF reboot or a global active/standby
switchover in an IRF fabric. (In IRF mode.)
Examples
# Create a directory named test under the flash root directory.
<Sysname> mkdir test
Creating directory flash:/test... Done.
# Set the directory to save the log file to flash:/test.
<Sysname> system-view
[Sysname] info-center logfile 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
mdc-admin
Usage guidelines
Outputting consecutive duplicate logs at an interval of less than 30 seconds wastes system and
network resources.
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.
After the suppression period expires, if the same log continues to appear, the system outputs
the suppressed logs and the log number and starts another suppression period. The
suppression period is 30 seconds the first time, 2 minutes the second time, and 10 minutes for
subsequent times.
374

Advertisement

Table of Contents
loading

Table of Contents