Skip to main content
rmankotia
Staff
Staff
December 26, 2019

Technical Tip: How to increase the log time in FortiMail

  • December 26, 2019
  • 0 replies
  • 2581 views
Description
This article describes how to increase the log time in FortiMail.

Solution
Log history search is limited to the number of days (Log time) configured in FortiMail.
Increase the log time to save more number of days when doing search for history logs.



# config log setting local
    get
    Last Update Time    :
    status              : enable
    rotation-size       : 20
    rotation-period     : 10                                          <---------------- Days set up.
    rotation-hour       : 0
    disk-full           : overwrite
    loglevel            : information
    event-log-category  : webmail smtp
    event-log-status    : enable
    sysevent-log-category: configuration admin system ha update
    system-event-log-status: enable
    antivirus-log-status: enable
    antispam-log-status : enable
    history-log-status  : enable
    encryption-log-status: enable

To increase the number of days logs saved, change the settings going to  Log & Report -> Log Settings and change the days in 'Local'.




# config log setting local
    # get
    Last Update Time    :
    status              : enable
    rotation-size       : 20
    rotation-period     : 25                                    <---------------- Days set up.
    rotation-hour       : 0
    disk-full           : overwrite
    loglevel            : information
    event-log-category  : webmail smtp
    event-log-status    : enable
    sysevent-log-category: configuration admin system ha update
    system-event-log-status: enable
    antivirus-log-status: enable
    antispam-log-status : enable
    history-log-status  : enable
    encryption-log-status: enable