Created on
10-31-2023
12:51 AM
Edited on
10-28-2025
03:56 AM
By
Jean-Philippe_P
| Description | This article describes the issue and solution for no record logs in FortiWeb. |
| Scope | FortiWeb. |
| Solution |
Assuming the log is enabled, follow the KB article below: Technical Tip: How to enable traffic logs for version 7.0 and later.
Problem Summary: An issue was reported where FortiWeb does not record any logs. Troubleshooting: To further verify the issue, collect and attach the below-requested logs, and upload them to the ticket:
To disable the debug, execute the following command:
diagnose debug disable
Or follow this workaround: Run the command 'diagnose sys top'<----- Ctrl+C to stop it from running.
If this step does not solve the issue, rebuild the Database. Run the below CLI command for database rebuild:
execute db rebuild
Also, check if the traffic log is enabled in the policy:
config server-policy policy
Related document: Step-by-step troubleshooting for log display on FortiWeb GUI failures
The proposed workaround involved rebuilding the log database to resolve the issue, possibly: It is recommended to run this command during low peak hours. This is because the process recreates the log database.
Note: Users facing similar log delay issues should consider rebuilding the log database, but should be aware of the potential high disk IO usage during the process and thus choose off-peak hours for the operation. If FortiWeb has an HA configuration in HA mode, running 'execute db rebuild' on the master appliance will take effect on all slaves simultaneously. |
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.