Created on
09-06-2006
12:00 AM
Edited on
09-23-2025
01:54 AM
By
Jean-Philippe_P
Description | This article describes how to configure logging to the FortiGate hard disk. |
Scope |
|
Solution |
Since FortiOS v3.0, the logging to disk configuration was removed from the web-based manager. It remains an option on FortiGate units equipped with an internal hard disk; however, it is necessary to configure the logging using the Command Line Interface (CLI).
Note that in FortiOS v2.8, the configuration of logging to disk was available in both the web-based manager and the CLI. The following commands can be used in both versions of the OS. To enable logging to the hard disk, use the CLI command :
config log disk setting
Once enabled, it is possible to configure logging options for the disk. It is also possible to set additional filters using the command: 'config log disk filter'.
Additional Note: The same configuration applies to the newest versions of FortiOS, including v7.2.x, v7.4.x, and v7.6.x. As the initial versions of this article were created a long time ago, a few options under these settings might have changed. However, on v7.4.8 of the FortiOS, as an example, the options for 'config log disk setting' are as follows:
config log disk setting
And for 'config log disk filter':
config log disk filter |
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.