Mantis - Resin
Viewing Issue Advanced Details
1031 major always 03-31-06 09:09 03-31-06 16:26
xgyxgy  
ferg  
normal  
closed 3.0.18  
fixed  
none    
none 3.0.19  
0001031: after the access.log rollover,the old access.log disappear!
I use resin 3.0.18 for a very busy site, in 5 servers. the conf of access log is:
<access-log path="logs/access.log"
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1D" rollover-size="10240mb"/>

in 0:00,the access.log rollover&65292;a new access.log.YYYYMMDD create,but the old access.log disappear!! something like:

root@[O]server1:/usr/local/resin/logs# ls -lh
-rw-r--r-- 1 root root 54M 2006-03-30 00:00 access.log.20060329.gz
-rw-r--r-- 1 root root 238M 2006-03-31 00:01 access.log.20060330.gz
-rw-r--r-- 1 root root 2.1G 2006-04-01 00:01 access.log.20060331

and the access.log will never be created until you restart the server.
for the access.log if very important to me , i use it to do the statistic, the only thing i can do is to restart the server every night after 0:00, who can help me.

By the way, the server is slackware 10.1 with NPTL,kernel 2.6.12,jdk 1.5.0_02-b09

Notes
(0000992)
ferg   
03-31-06 16:26   
sync issues with logging.