You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Watson, Tom" <Wa...@CoBank.com> on 2001/03/21 01:14:57 UTC

scope of PropertyConfigure.configure("config file")

All,

My issue,
I want to globally set my logging configuration using
PropertyConfigure.configure("filename").  

My problem is I don't have a main() program, I have lots of servlets, JSP's
and business objects running on WebSphere.  I want to be able to set my
global configuration in one place.

I have decided to follow the "locality principle" on my Categories....i.e.,
one per class.  However, I don't see why I should have to parse the
configuration file for every class.

I tried a "priming servlet", but I believe that scope is limited to the
servlet and it's business objects.  That gives me hope that I can somehow
set it for the entire JVM.

Any ideas?
Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org