Mantis - Resin
Viewing Issue Advanced Details
1985 minor always 08-31-07 12:47 09-04-07 11:06
stbu  
ferg  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0001985: 'rollover-count' is an unknown property of 'com.caucho.server.log.AccessLog'
Discrepancy between Resin 3.1 documentation:

http://www.caucho.com/resin-3.1/doc/config-log.xtp#access-log [^]

...
rollover-count maximum number of rollover files before the oldest ones get overwritten. See Rollovers.
...

and Resin-3.1.2. I've configured this:

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

which should be possible accordingly to the documentation. Rollover after one week, keep 2 files.

But I get this Exception:

500 Servlet Exception
conf/resin.conf:228: 'rollover-count' is an unknown property of 'com.caucho.server.log.AccessLog'.

226: format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
227: rollover-count="2"
228: rollover-period="1W"/>
229:
230: <!-- creates the webapps directory for .war expansion -->




Notes
(0002256)
ferg   
09-04-07 11:06   
server/0266