DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5526>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5526 Log filename rollover in AccessLogValue fails. Summary: Log filename rollover in AccessLogValue fails. Product: Tomcat 4 Version: 4.0.1 Final Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The files written to by org.apache.catalina.valves.AccessLogValve do not necessarily roll-over at midnight. IMHO the probable reason for this, looking at the code (revision 1.10), is the following: The getDate() method called with the invoke() method will reset the currentDate field within a granularity of 1sec. invoke() then constructs the access log line and calls log(msg,date). It is within this log() method that the check for file rollover occurs. However the test will fail unless more than 1 sec has elapsed since getDate() was called. Since this is highly likely the old file is never closed and the new file is never opened. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
