Fortinet black logo

CLI Reference

formatlogdisk

formatlogdisk

Format the FortiGate hard disk to enhance performance for logging.

Syntax

execute formatlogdisk  Format log disk.

note icon In addition to deleting logs, this operation erases all other data on the disk, including quarantined files, web and WAN optimization caches, and databases for antivirus and IPS. This command does not delete information such as configuration files and firmware images because they are not stored on logging disks.

formatlogdisk

Format the FortiGate hard disk to enhance performance for logging.

Syntax

execute formatlogdisk  Format log disk.

note icon In addition to deleting logs, this operation erases all other data on the disk, including quarantined files, web and WAN optimization caches, and databases for antivirus and IPS. This command does not delete information such as configuration files and firmware images because they are not stored on logging disks.