Hi people.
I had read dovecot logging info, they say something about using log rotation to help us rotate our log, with this setup:
# dovecot SIGUSR1: Re-opens the log files.
/var/log/dovecot*.log {
missingok
notifempty
delaycompress
sharedscripts
postrotate
/bin/kill -USR1 cat /var/run/dovecot/master.pid 2>/dev/null
2>
/dev/null || true
endscript
}
Well, my question is simple, Do we need to restart the service each time logrotation runs?
In my case, is wrong this?
var/log/dovecot*.log { weekly rotate 8 notifempty missingok copytruncate create 600 root start 0 }
I have 2 dovecot logs:
dovecot-info.log dovecot.log
dovecot-info.log is the biggest, 5MB by week, is to much? Do I have to change our log rotation to "daily"?
Centos 5.4 updated, dovecot 1.0.7-7.el5, thanks!!!