You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/19 23:01:06 UTC
DO NOT REPLY [Bug 6561] New: -
Log rollover at midnight doesn't work
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=6561>.
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=6561
Log rollover at midnight doesn't work
Summary: Log rollover at midnight doesn't work
Product: Tomcat 4
Version: 4.0.1 Final
Platform: PC
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mjmare@webtothemax.com
The rollover at midnight feature of the file access log
(localhost_access_log.<date>.txt)
of Tomcat 4.0.1 (standalone) seems broken.
The logfile created at Tomcat startup is retained
for all days to follow. Only restarting Tomcat starts a new logfile.
The other logfiles
(localhost_log.<date>.log and catallina.<date>.log) DO
roll over.
This is the
relevant (I think) section from server.xml:
<Valve
className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="combined"/>
In the docs I
couldn't find a setting to turn the rollover feature on or
off.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>