Re: exim can hold mainlog files open for a long time .....

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Piete Brooks
Cc: exim-users
Asunto: Re: exim can hold mainlog files open for a long time .....
> How about a configed variable max_log_open, and have the log proc do a
>
>    if    (time() > log_expire_time)
>    then    attempt re-open
>        log_expire_time = time() + max_log_open

>
> before each write ?


Could do, but it doesn't really do what you want. If it takes several
hours to deliver to one address (which is plausible) then the log would
remain open all that time if it had already been opened for a previous
address.


--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714