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?
