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)

Reply via email to