Mantis - Resin
Viewing Issue Advanced Details
2993 minor always 10-06-08 17:26 11-05-08 10:19
ferg  
ferg  
urgent  
closed 3.1.7  
fixed  
none    
none 3.1.8  
0002993: rollover issues with 3.1.7
(rep by Juan Andrade)


I am running Resin 3.1.7a and I am having problems with rollover logs

Here is my configuration
<stdout-log path="/var/log/resin/stdout.log" rollover-size="-1" rollover-count="5" rollover-period="1h" archive-format="%Y%m%d%H.stdout.log.gz" timestamp="[%Y%m%d-%H:%M:%S.%s] " />

It does create a compressed file 2008100618.stdout.log.gz but old file continues to get appends. Next hour a new .gz file is created and original file continues to get appends.

This is filling up disk space.

What is wrong with configuration?


Notes
(0003533)
ferg   
11-05-08 10:19   
JNI/native truncate issue see 0003024