The Log & Report > Log Setting submenu lets you:
- set the severity level
- configure which types of log messages to record
For more details, see Configuring logging to the hard disk.
You can store log messages locally on the hard disk of the FortiVoice Gateway.
To ensure that the local hard disk has sufficient disk space to store new log messages and that it does not overwrite existing logs, you should regularly download backup copies of the oldest log files to your management computer or other storage, and then delete them from the FortiVoice Gateway.
You can view and download these logs from the Log submenu of the Monitor tab. For more information, see Viewing log messages.
For logging accuracy, you should also verify that the FortiVoice Gateway’s system time is accurate. For details, see Configuring the time and date.
To configure logging to the local hard disk
- Go to Log & Report > Log Setting > Local.
- Select Enabled to allow logging to the local hard disk.
- In Log file size, enter the file size limit of the current log file in megabytes (MB). The log file size limit must be between 10 MB and 1000 MB.
- In Log time, enter the time (in days) of file age limit.
- In At hour, enter the hour of the day (24-hour format) when the file rotation should start.
When a log file reaches either the age or size limit, the FortiVoice Gateway rotates the current log file: that is, it renames the current log file (elog.log) with a file name indicating its sequential relationship to other log files of that type (elog2.log, and so on), then creates a new current log file. For example, if you set the log time to 10 days at hour 23, the log file will be rotated at 23 o’clock of the 10th day.
Large log files may decrease the display and search performance.
- In Log level, select the severity level that a log message must equal or exceed in order to be recorded to this storage location.
- In Log options when disk is full, select what the FortiVoice Gateway will do when the local disk is full and a new log message is caused, either:
- Overwrite: Delete the oldest log file in order to free disk space, and store the new log message.
- Do Not Log: Discard all new log messages.
- In Logging Policy Configuration, enable the types of logs that you want to record to this storage location.
Includes system and administration events, such as downloading a backup copy of the configuration.
Includes the following events:
- SMTP relay or proxy events
- Voice user login and logout events
Includes phone calls events.
DTMF (Enhanced CDR)
Includes DTMF (Dual Tone Multi-Frequency) events.
- Click Apply.