Simon McCorkindale | 4 Jul 12:14

Tomcat's log files rolled over daily but some of today's logs still recorded to yesterday's log file

Hi all,

I have an issue that's somewhat stumping me after having spent several
hours pouring over forums and documents.

Problem:
-------------

I have Tomcat's log file xxx.log defined in
/usr/local/jakarta-tomcat-5.0.28/common/classes/log4j.properties (see
below for its contents) to roll over each day to xxx.log.YYYY-MM-DD.
However, although most of today's log entries are correctly logged into
today's xxx.log, the entries below keep getting logged to yesterday's
xxx.log.YYYY-MM-DD. 

2008-07-03 08:12:27,055 [TP-Processor3] INFO  - connection timeout
reached

... same message is repeated at irregular intervals during the day...
then the machine is manually rebooted in the evening at about
18:00-19:00...

2008-07-03 18:06:30,365 [TP-Processor8] INFO  - connection timeout
reached
2008-07-03 18:16:35,826 [Thread-32] INFO  - Pausing Coyote HTTP/1.1 on
http-8585
2008-07-03 18:16:35,845 [Thread-32] ERROR - Protocol handler pause
failed
java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
(Continue reading)


Gmane