Created on
09-20-2023
12:10 AM
Edited on
09-15-2025
03:44 AM
By
Jean-Philippe_P
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.
Scope
FortiGate.
The config error log contains errors and events that can help to determine the cause of the configuration issue.
For example:
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 a specific type of errors or events, run the following command:
diagnose debug config-error-log read | grep '<keyword>'
Note: When the device is rebooted, the config error log will be purged.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.