Mantis - Resin
Viewing Issue Advanced Details
4234 minor always 09-29-10 09:47 01-12-11 17:01
mros2stf  
ferg  
normal  
closed 4.0.10  
fixed  
none    
none 4.0.15  
0004234: access log not rolling properly
When I set the resin log as follows:
<access-log path="log/access.log"
                format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i
"'
                rollover-period="1D"/>

It rolled the first day, and not since.
adczlnxsahqa1:/var/www/log # ls -l
total 3476
-rw-r--r-- 1 www-data www-data 149223 Sep 29 12:25 access.log
-rw-r--r-- 1 www-data www-data 3396357 Sep 24 09:46 access.log.20100923

There is data for each day in the current access.log file, but it doesn't roll over.

Notes
(0004774)
mros2stf   
10-04-10 07:11   
I believe this can be closed. After re-reading the manual, the time based rollover doesn't take affect unless you disable the size based by setting the rollover-size="-1".

Please correct me if I'm wrong.

Thanks,