Re: [Exim] LOGS

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David Woodhouse
Date:  
À: Willie Viljoen
CC: Thomas Kinghorn, Exim-Users (E-mail)
Sujet: Re: [Exim] LOGS
On Mon, 2003-02-24 at 07:17, Willie Viljoen wrote:
> If you are running a non-BSD system, you will have to do some quick shell
> scripting to get (similar) behaviour. Here is a "poor man's" rollover
> script I hacked out in double quick time, this could be done in a much
> better way:


Linux systems are likely to have logrotate.

imladris /etc/logrotate.d # cat exim
# daemon does not need restarting after log rotate
# so we do not prod it any more
/var/log/exim/*log {
missingok
notifempty
delaycompress
}

--
dwmw2