That sounds like a good idea.
Would you have any sample code?

Would anybody recommend anything that worked for them.
I would really like to try something that is currently working for somebody.
Thank you all in advance.
--
anas mughal


-----Original Message-----
From: Yoav Shapira 
Sent: Tuesday, October 30, 2001 12:53 PM
To: Log4J Users List
Subject: Re: xml configuration file example


Howdy,
What about either setting it programatically, maybe from an init
servlet or via init-param (or context-param type stuff, if using
tomcat) ?

Yoav

"Mughal, Anas" wrote:
> 
> I need to use an enviroment variable for the path to the log file
location.
> So, in a confirguration file, I would like to have something like
> 
>         log4j.appender.debug.File=$LOGFILES/debug.log
> 
> Where $LOGFILES would point to the location of the log file.
> I need to make this work on UNIX (Solaris).
> 
> Thank you for your help.
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to