DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44427>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44427





------- Additional Comments From [EMAIL PROTECTED]  2008-02-17 05:35 -------
Inspired by the comment #2 of Kevin Connor I extended my idea to using two
different signals:

- SIGHUP as before closes the used log file, if the time or size conditions are 
met
- SIGINT closes the file unconditionally

In the SIGINT case when using time interval based rotation it is possible that
the new file gets opened before the time interval of the old file is over. In
this case the new file uses a file name based on the time of its opening, and
not the last start of interval. The end of use time for the file will still be
the normal interval boundary (or of course the next INT signal).

If someone wants to review this: I don't plan any more extensions, so the code
should be stable for review.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to