logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cakalic, James P." <James.Caka...@heybridge.com>
Subject RE: scope of PropertyConfigure.configure("config file")
Date Wed, 21 Mar 2001 18:13:55 GMT
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:pglezen@us.ibm.com]
> 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: log4j-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
> 

Mime
View raw message