How to Enable logging on disk on fortigate (fortinet) 5.x?

Problem:

Enable logging on disk on fortigate 5.0?

Log disable on disk

Solution:

Applied to: fortigate 40c and others.

  1. connect on fortigate console (CLI console)
  2. launch the following command:
    fortigate # get sys status
    Version: FortiGate-VM64 v5.0,build0228,130809 (GA Patch 4)
    ……
    License Status: Valid
    ……
    Log hard disk: Need format
    Hostname: fortigate
    Operation Mode: NAT
    Current virtual domain: root
    Max number of virtual domains: 1
    ……

If Log hard disk: Need format 
fortigate # execute formatlogdisk

Then enable logging
fortigate # config log disk setting
fortigate (setting) # set status enable
fortigate (setting) # end

Log enable on disk

Best Regards,

ITquadro – specialized Blog

ITquadro consulenti informatici specializzati in reti di computer microsoft windows server 2008 R2 e Microsoft Windows Server 2012. Ci trovate su Bologna ed Emilia-Romagna ma anche su Milano e Roma.
Siamo un’azienda di consulenza informatica a Bologna