Mantis - Resin
Viewing Issue Advanced Details
5785 major always 08-13-14 05:25 09-12-14 10:23
mros2stf  
ferg  
normal  
closed 4.0.39  
fixed  
none    
none 4.0.41  
0005785: Access.log doesn't roll
I have the access-log set to rollover-period="1D", and yet it hasn't rolled in three days. This is the Resin Open Source Version.

<host-default>
      <access-log path="log/access.log"
                format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
                rollover-period="1D"
                rollover-size="-1"
                rollover-count="14"
                archive-format="access.log.%Y%m%d.gz"/>

This is a big issue as I use the logs daily for reporting.

Notes
(0006469)
mros2stf   
08-13-14 05:30   
This is running on RHEL 6.5 zLinux ( z196 hardware) .

{main} IBM J9 VM 2.6, 64, JRE 1.7.0 Linux s390x-64 Compressed References 20140409_195732 (JIT enabled, AOT enabled)
                                                                 J9VM - R26_Java726_SR7_20140409_1418_B195732
                                                                 JIT - r11.b06_20140409_61252
                                                                 GC - R26_Java726_SR7_20140409_1418_B195732_CMPRSS
                                                                 J9CL - 20140409_195732, IBM Corporation
(0006470)
mros2stf   
08-14-14 05:41   
Going on fourth day, and still hasn't rolled over.

[sfrancis@rdcsahp1 tools]$ ls -l /opt/resin/log/
total 129828
-rw-r--r-- 1 resin resin 50091342 Aug 14 08:39 access.log
-rw-r--r-- 1 resin resin 389532 Aug 7 00:00 access.log.20140806.gz
-rw-r--r-- 1 resin resin 82448257 Aug 11 07:28 access.log.20140809
[sfrancis@rdcsahp1 tools]$