Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1869 | minor | always | 07-11-07 11:04 | 07-25-07 09:41 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |