httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: rotatelogs - Adding timeout for reading from stdin
Date Wed, 10 Jun 2009 19:01:52 GMT
William A. Rowe, Jr. wrote:
> Mladen Turk wrote:
>> Code was testes both on windows and linux and it works like
>> a charm (rotation is done at exact time regardless of log events).
> 
> Foolish question, but rather than waking up every second, isn't it more
> rational to compute the expiry of the current file and timeout for that
> period of time?
> 

Might be a nice add-on.
However it would require reorganizing the rotate logic to calculate
early instead late. This would complicate the patch and it
would be hard to follow the difference.
I've choose a straight forward approach.

Regards
-- 
^(TM)

Mime
View raw message