Trying to change log rotation for mail.log to daily.

Discussion in 'Installation/Configuration' started by webguyz, May 20, 2015.

  1. webguyz

    webguyz Member HowtoForge Supporter

    Currently the mail.log file rotates weekly. I am trying to make it rotate daily.

    I made this change in /etc/logrotate.conf, but it is still rotating weekly

    # system-specific logs may be configured here
    /var/log/mail.log{
    missingok
    daily
    rotate 7
    create
    compress
    start 0
    }

    Do I need to restart some service? Supposedly /etc/cron.daily/logrotate runs this so I was not sure if something else had to be restarted.

    Thanks!
     

Share This Page