Mantis - Resin
Viewing Issue Advanced Details
2226 major always 12-05-07 02:34 12-20-07 15:25
rbaldock  
ferg  
normal  
closed 3.0.14  
fixed  
none    
none 3.0.25  
0002226: Access log grows without limit
Version of Resin is actually 3.0.8 but I wasn't able to choose that from the drop-down. We are tied to this version for historical reasons.

In resin.conf I have:

      <access-log path='logs/access.log'
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period='1W' rollover-size='50mb'/>

The access log file is rolling over every week but access.log itself contains *all* historical entries and is currently sitting at 4GB in size!

Is this a bug or something I can fix by configuration?


Robert


Notes
(0002555)
rbaldock   
12-05-07 03:43   
Actually, looking into this more closely it seems that each RAR-ed access log also has entries going back over a year (despite the '1W' setting) and these un-RAR to over 2 GB each as well.


Robert
(0002593)
ferg   
12-20-07 15:25   
This is an old bug that's been fixed in more recent versions of Resin.