Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001869 [Resin] minor always 07-11-07 11:04 07-25-07 09:41
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.3 Product Version 3.1.1
  Product Build
Summary 0001869: resin.root
Description (rep by Brian Burke)

I'm attempting to configure log4j in a 'flexible' manner for a webapp,
using the ${server.root} environment variable in the log4j.properties
file, like this:

log4j.appender.events=org.apache.log4j.DailyRollingFileAppender
log4j.appender.events.DatePattern='.'yyyy-MM-dd
log4j.appender.events.Append=true
log4j.appender.events.File=${resin.root}/logs/events_log.txt

The startup of resin I'm using is: httpd.sh -server-root
/apps/resin-local -log-directory /apps/resin-local/logs start

According to this page: http://wiki.caucho.com/Command_Line_Options [^]
setting -server-root on the command line should make ${resin.root}
available as an environment variable, but it doesn't seem to be
working. I have been able to use ${resin.home} in the log4j.propeties
file, but this isn't ideal as I'm trying to keep /apps/resin completely
clean of local files, configurations, etc.

Has anyone else tried to make use of the resin.root environment variable
in this manner? Is there a different environment variable I could or
should be using?
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-11-07 11:04 ferg New Issue
07-25-07 09:41 ferg Assigned To  => ferg
07-25-07 09:41 ferg Status new => closed
07-25-07 09:41 ferg Resolution open => fixed
07-25-07 09:41 ferg Fixed in Version  => 3.1.3


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