Title: RE: scope of PropertyConfigure.configure("config file")

Hi, Paul.

I appreciated your answer on this question and wondered whether you might be privy to a similar strategy for setting properties for the WebSphere Test Environment.

Best regards,
Jim Cakalic

> -----Original Message-----
> From: Paul Glezen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 6:31 PM
> To: LOG4J Developers Mailing List
> Subject: Re: scope of PropertyConfigure.configure("config file")
>
>
> Hi Tom,
>
> I believe you can do this by placing a file called
> log4j.properties in your
> classpath (either the webapp classpath or the application
> classpath, as
> websphere folks like to call them).  A static initializer in
> Category will
> read it and run the appropriate configurator.
>
> If want to specify a different name for the property file,
> make sure that
> the log4j.configure property is set to the name you want.  In
> the websphere
> admin console, click on the application for which the webapp
> is a part and
> click on environment.  You can enter the log4j.configure name
> and value
> there.
>
> For more information, check out the log4j.configure constant
> documentation
> of the Category class javadoc.
>
> Good luck,
> - Paul
>
> Paul Glezen
> IT Specialist
> Software Services
> 818 539 3321
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to