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 Tan Yoke Yew <yy...@infopro.com.my> on 2003/05/08 10:46:17 UTC

PropertyConfigurator

hi;

As i know, PropertyConfigurator to parse a configuration file and set up
logging accordingly. 
Normally this PropertyConfigurator will reside in "main method" or "other
method" declared in our class.
Now, if my class doesn't have main method, where can i put
PropertyConfigurator? I meant, where is the
suitable place to put this line of code PropertyConfigurator. 
Can i put somewhere else? I am stuck here. I need some guides here, thanks
in advance!


Regards;
yoke yew


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