No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Are Logs Saved?

How Are Logs Saved?

System generated logs are first saved in the memory buffer and then automatically saved by the system in log files (including log.log and diag.log) at an interval of 30 minutes or when the memory buffer is full. You can also manually save logs in the memory buffer to log files using commands.

User logs are saved in the log.log file in flash:/logfile, and diagnostic logs are saved in the diag.log file in flash:/logfile. When the log file size reaches 8 MB, the system compresses the log file into a or file. slot-id and time indicate the slot ID and log file generation time.

The storage space for saving user logs and diagnostic logs is limited. To view the storage space and usage, run the display logfile storage-usage command. The log storage space cannot be adjusted currently. When the remaining storage space of a type of log is less than 20% of the total space, the system deletes the earliest compressed log file to ensure that the latest logs can be recorded.

Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 604707

Downloads: 2938

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next