You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Durham David R Jr Contr 805 CSPTS/SCE <Da...@scott.af.mil> on 2004/11/29 17:58:15 UTC

Using environment variable in log4j.properties

Will using something like this work:
 
    log4j.appender.app.File=${APP_HOME}\TIDEII_app.log
 
Assuming that APP_HOME is a system variable on a windows server?
 
Is this enough information to answer this question?
 
 
Thanks,
 
Dave
 

Re: Using environment variable in log4j.properties

Posted by Ceki Gülcü <ce...@qos.ch>.
Yes, it should indeed work.

At 05:58 PM 11/29/2004, you wrote:
>Will using something like this work:
>
>     log4j.appender.app.File=${APP_HOME}\TIDEII_app.log
>
>Assuming that APP_HOME is a system variable on a windows server?
>
>Is this enough information to answer this question?
>
>
>Thanks,
>
>Dave
>

-- 
Ceki Gülcü

  The complete log4j manual:  http://qos.ch/eclm
  Professional log4j support: http://qos.ch/log4jSupport  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org