st
Subject: RE: How to specify log file path using env variable
Quoting Jitendra Kharche <[EMAIL PROTECTED]>:
>
> Hi Jacob,
>
> I appreciate your response. Sorry for the delay to reply back since I
> was out of the town for last 4 days.
> I am sorry, your solution does not fi
Quoting Jitendra Kharche <[EMAIL PROTECTED]>:
>
> Hi Jacob,
>
> I appreciate your response. Sorry for the delay to reply back since I
> was out of the town for last 4 days.
> I am sorry, your solution does not fit my requirement as it is. But it
> gave me a clue to do it the way I want.
>
> I did
Never mind. I got it working.
Jitendra
-Original Message-
From: Jitendra Kharche [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 6:12 PM
To: Log4J Users List
Subject: RE: How to specify log file path using env variable
Hi Jacob,
I appreciate your response. Sorry for the
changes. Just have the deployer make the decision at deployment
time using the server's proprietary configuration. That's what all the
indirection is about in J2EE's configuration scheme; to make things
flexible for cases like this.
Jake
> Regards,
> Jitendra
>
&
ction is about in J2EE's
configuration scheme; to make things flexible for cases like this.
Jake
> Regards,
> Jitendra
>
>
> -Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 19, 2005 9:09 PM
> To: Log4J Users List
> Subject: RE:
't be resolved before autoconfiguration).
Jake
> Regards,
> Jitendra
>
> -Original Message-
> From: Paul Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 19, 2005 12:49 PM
> To: Log4J Users List
> Subject: Re: How to specify log file path using env variable
s,
> Jitendra
>
> -Original Message-
> From: Paul Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 19, 2005 12:49 PM
> To: Log4J Users List
> Subject: Re: How to specify log file path using env variable
>
> if you start your application and set the pro
ECTED]
Sent: Tuesday, April 19, 2005 12:49 PM
To: Log4J Users List
Subject: Re: How to specify log file path using env variable
if you start your application and set the property via the standard java
system property, it works fine.
eg.
java -classpath -DMY_APP=c:\myapp
Then you can
if you start your application and set the property via the standard java
system property, it works fine.
eg.
java -classpath -DMY_APP=c:\myapp
Then you can embed the MY_APP in your log4j configuration file.
cheers,
Paul
Jitendra Kharche wrote:
Hi All,
I am using log4j for looging my applo