Mantis - Resin
Viewing Issue Advanced Details
5920 minor always 06-24-15 11:47 04-07-17 14:28
nam  
ferg  
normal  
closed 4.0.40  
fixed  
none    
none 4.0.52  
0005920: access log not archived intermittently
(rep by Nobuaki)

I'm using Resin 4.0.40.

In resin.xml, it is set to zip archive the access.log each day.
{{{
<host-default>
   <access-log path='${resin.home}/log/access.log'
      archive-format="access-%Y%m%d.log.zip"
      rollover-count='366'
      rollover-period='1D' />
}}}

cluster-default.xml is the default setting.
{{{
<host-default>
  <access-log path="log/access.log"
             format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
             rollover-period="1W"/>
}}}

File name of the June 5 log becomes "access.log.20150606", it was left without being archived.
access-20150605.log.zip had stores "access.log.20150605" file contents of 0 bytes.
It appears to have done rollover both weekly and daily. Is this normal behavior?

Notes
(0006745)
ferg   
04-07-17 14:28   
server/02f0