tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6561] New: - Log rollover at midnight doesn't work
Date Tue, 19 Feb 2002 22:01:06 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message