Fortinet black logo

CLI Reference

system ha file-log

system ha file-log

Use this command to manage the HA event logs.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose system ha file-log {clear | disable | enable | show | status}

enable Enable the system to generate HA event log and store it in var/log/gui_upload/ha_event_log.
disable Disable generating HA event logs.
clear Clear the HA log files in var/log/gui_upload/ha_event_log.
show Display HA event logs in console.
status Show the status of the HA event log, whether it is enabled or not.

system ha file-log

Use this command to manage the HA event logs.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose system ha file-log {clear | disable | enable | show | status}

enable Enable the system to generate HA event log and store it in var/log/gui_upload/ha_event_log.
disable Disable generating HA event logs.
clear Clear the HA log files in var/log/gui_upload/ha_event_log.
show Display HA event logs in console.
status Show the status of the HA event log, whether it is enabled or not.