Logging and reporting Recording logs
FortiGate-400 Installation and Configuration Guide 283
4 Select the severity level for which you want to record log messages.
The FortiGate will log all levels of severity down to but not lower than the level you
choose. For example, if you want to record emergency, alert, critical, and error
messages, select Error.
5 Select Config Policy.
To configure the FortiGate to filter the types of logs and events to record, use the
procedures in “Filtering log messages” on page 284 and “Configuring traffic logging”
on page 286.
6 Select Apply.
Recording logs on the FortiGate hard disk
You can record log files on the FortiGate hard disk if one is installed in your FortiGate
unit.
To record logs on the FortiGate hard disk:
1 Go to Log&Report > Log Setting.
2 Select Log to Local.
3 Type a maximum log file size (in Mbytes).
When the log file reaches this size, the current log file is closed and saved and a new
active log file is started. The default maximum log file size is 10 Mbytes and the
maximum allowed is 2 GBytes.
4 Type a log time interval (in days).
After the specified time interval, the current log file is closed and saved and a new one
is started. The default log time interval is 10 days.
5 Select the severity level for which you want to record log messages.
The FortiGate will log all levels of severity down to but not lower than the level you
choose. For example, if you want to record emergency, alert, critical, and error
messages, select Error.
6 Select Config Policy.
To configure the FortiGate to filter the types of logs and events to record, use the
procedures in “Filtering log messages” on page 284 and “Configuring traffic logging”
on page 286.
7 Set Log options when disk is full to:
8 Select Apply.
Overwrite Delete the oldest log file when the hard disk is full. Overwrite is the default
option.
Block traffic Block all network traffic when the hard disk is full.
Do not log Stop logging messages when the hard disk is full.