Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005789 [Resin] minor always 08-21-14 12:53 08-27-14 10:49
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0005789: access-log rollover-count
Description (rep by Uv Wildner)
we are operating a number of resin 4 nodes for some weeks for our website.

Our operations team observed now that the access.log rotation works fine, however, the access-log directive in the cluster-default.xml is not observing the rollover-count directive limiting the number of compressed access.log files.

We use the standard approach to overwrite the resin.properties and resin.xml with resin-ipc.properties and resin-ipc.xml.
But there is no other access-log configuration in our config files.

cluster-default.xml:
<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="urn:java:com.caucho.resin">

  <!--
     - default configuration applied to all clusters
    -->
  <cluster-default>
.......
 <host-default>
      <access-log path="log/access.log"
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            archive-format="access-%Y%m%d.log.gz"
            rollover-period="1D"
            rollover-count="10"/>
    ......
      </host-default>
  </cluster-default>
</resin>

Please advise if
1.) this directive to limit the number of access log files is placed in the wrong xml configuration context, or
2.) if this is simply not implemented using date based logfile rotation. In this case would have to create a cronjob to do this externally...
Additional Information
Attached Files

- Relationships

- Notes
(0006475)
ferg
08-27-14 10:49

server/02ew
 

- Issue History
Date Modified Username Field Change
08-21-14 12:53 ferg New Issue
08-27-14 10:49 ferg Note Added: 0006475
08-27-14 10:49 ferg Assigned To  => ferg
08-27-14 10:49 ferg Status new => closed
08-27-14 10:49 ferg Resolution open => fixed
08-27-14 10:49 ferg Fixed in Version  => 4.0.41


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker