allow java client to name log file via system property.
System.setProperty("fvis.logging.logfile",mylog);
pick up as variable in properties file
FVIS.LOGFILE=${fvis.logging.logfile}
log4j.appender.PgmLog.File=${FVIS.LOGFILE}
Ceki G�lc�
<[EMAIL PROTECTED]> To: "Log4J Users
List" <[EMAIL PROTECTED]>
cc:
11/29/2004 12:59 Subject: Re: Using environment
variable in log4j.properties
PM
Please respond to
"Log4J Users
List"
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
