Anonymous | Login | Signup for a new account | 12-17-2024 08:39 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 3.1.1 | ||||||
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? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |