HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 66
info-center logging suppress duplicates
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
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. mkdir test Directory flash:/test created. # Set the directory to save the log file to flash:/test. 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