At 19:23 31.01.2001 -0500, you wrote:
>If I want to add a custom Priority, do I have to use DOMConfigurator instead
>of PropertyConfigurator? 

Indeed.

>Category automatically finds a log4j.properties file on the user's
>classpath. Can my system be setup to have that log4j.properties file
>automatically configure a DOMConfigurator instead of a PropertyConfigurator?
>(so I don't ever explicitly load a properties file)

Yes. See

 
http://jakarta.apache.org/log4j/javadoc/org/apache/log4j/Category.html#DEFAULT_CONFIGURATION_KEY

and especially the info on the OptionConverter.selectAndConfigure() method. Ceki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to