Skip to main content
zromano
Staff & Editor
Staff & Editor
May 27, 2026

Troubleshooting Tip: Disk logging cannot be enabled nor disabled

  • May 27, 2026
  • 0 replies
  • 127 views

Description

This article describes why Disk Logging cannot be changed if the FortiGate is part of a Security Fabric.

Scope

FortiGate.

Solution

If the FortiGate is part of a Security Fabric, it is not possible to change the disk log settings.


If an administrator tries to change it (enable or disable), the FortiGate will return an error:

FortiGate # config log disk setting
FortiGate (setting) # set status enable
FortiGate (setting) # end

Cannot change disk log setting.
This device is set up as a security fabric member.
The disk log setting cannot be changed unless configuration-sync in csf setting is set to local.
attribute set operator error, -39, discard the setting
Command fail. Return code -39


The error explains that as long as configuration sync is set to default, the setting above cannot be changed. With configuration-sync set to 'default', some objects are synchronized between the root FortiGate and the downstream FortiGates.

To learn more about what is synchronized, refer to Synchronizing objects across the Security Fabric.

In order to change disk logging settings, configuration-sync must be set to 'local':

FortiGate # config sys csf
FortiGate (csf) # set configuration-sync local
FortiGate (csf) # end


The setting can then be changed, without any errors:

FortiGate # config log disk setting
FortiGate (setting) # set status enable
FortiGate (setting) # end


Afterwards configuration-sync can be set again to the 'default' value if needed.

Note: A maintenance window is recommended for this activity to avoid potential traffic disruption due to objects not being synchronized from the root FortiGate.