Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002405 [Resin] minor always 02-06-08 09:04 02-11-08 19:09
Reporter ckchris View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.4
Summary 0002405: <access-log> path not properly read by DeployController in <host-default> config
Description I have multiple hosts with logs in their respective directories:

/var/vhosts/abc.com/logs
/var/vhosts/def.com/logs

I have configured my <access-log> config in host-default.

      <access-log path="logs/access.log"
          format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
          rollover-period="1M" rollover-count="12"/>
      <stdout-log path="logs/stdout.log" rollover-size="5mb" rollover-count="4"/>
      <stderr-log path="logs/stderr.log" rollover-size="5mb" rollover-count="4"/>


This setting previously worked without any problems on 3.1.3. In subsequent <host> configurations, I set the <root-directory> to its proper location (ie. abc.com).

After upgrading to 3.1.4, I can gett the following exception:

[2008/02/06 08:59:51.987] SEVERE [com.caucho.server.deploy.DeployController] /apps/etc/resin.conf:80: java.io.IOException: Cannot create directory: /var/vhosts/bogus-root/logs

Even though I get this exception, I can still see logs being used in the proper location. However, this exception shouldn't be thrown given that the configuration is correct. <access-log> relative paths should go according to the root-directory set in <host>
Additional Information
Attached Files

- Relationships

- Notes
(0002756)
ferg
02-11-08 19:09

server/2e0b
 

- Issue History
Date Modified Username Field Change
02-06-08 09:04 ckchris New Issue
02-11-08 19:09 ferg Note Added: 0002756
02-11-08 19:09 ferg Assigned To  => ferg
02-11-08 19:09 ferg Status new => closed
02-11-08 19:09 ferg Resolution open => fixed
02-11-08 19:09 ferg Fixed in Version  => 3.1.5


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