This section contains tips to help you with some common challenges of FortiGate logging.
Ensure that logging is enabled in both the Log Settings and the policy used for the traffic you wish to log, as logging will not function unless it is enabled in both places.
If logging is enabled in both places, check that the policy in which logging is enabled is the policy being used for your traffic. Also make sure that the policy is getting traffic by going to the policy list and adding the Sessions column to the list.
Ensure that the correct log source has been selected in the Log Settings, under GUI Preferences.
If logs still do not appear, use the following CLI command:
config system global set gui-lines-per-page 20 end
If enabling disk logging has impacted overall performance, change the log settings to either send logs to a FortiAnalyzer unit, a FortiManager unit, or to FortiCloud.