Created on
09-20-2023
12:10 AM
Edited on
09-20-2023
07:42 AM
By
HarshChavda
Description
This article describes how to clear the old config error logs.
Note that the old config error logs will not clear by themselves, so it is recommended to clear the old config error logs once it has been addressed to avoid confusion that it is still happening.
Solution
The config error log contains errors and events that can help to determine the cause of the configuration issue.
For example:
- Missing or failed configuration during the upgrade process and boot-up.
- Missing or failed configuration when restoring a backup configuration file.
To check the config error log, run the following command:
diagnose debug config-error-log read
To clear the config error log, run the following command:
diagnose debug config-error-log clear
To filter for specific type of errors or events, run the following command:
diagnose debug config-error-log read | grep '<keyword>'