logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Glezen" <pgle...@us.ibm.com>
Subject Re: scope of PropertyConfigure.configure("config file")
Date Wed, 21 Mar 2001 00:31:05 GMT
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

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

View raw message