Re: [EXIM] logrotate

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Vadim Vygonets
Fecha:  
A: exim-users
Asunto: Re: [EXIM] logrotate
Quoth Nigel Metheringham on Wed, Dec 23, 1998:
> Here's the one I use. Obviously your paths etc may vary (filter.log is
> the log from the system filter).


> # the sleep is added to allow things to close the logfile prior
> # to compression.


Why sleep? Do like exim's log rotation program does -- rotate
the logs and compress *.2, but don't compress *.1. Yet another
good thing in such approach is that you can see (without using
gzcat (zcat in linux?)) yesterday's log.

Vadik.

-- 
If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when
was the last time you needed one?
        -- Tom Cargil, C++ Journal.


--
*** Exim information can be found at http://www.exim.org/ ***