Log4j currently checks whether a resource called log4j.properties
exists and if it does, uses it to configure itself. This happens when
log4j classes are loaded into memory. There have been several requests to have
log4j automatically search for a resource called log4j.xml and use it
if it exists.

This new feature would give configuration files written in XML format
equal footing with those written in properties format.

The only disadvantage of this change is that log4j will no longer
compile without the presence of a JAXP parser in the classpath which
is not an issue because compilation requires Ant which in turn requires XML.


--
Ceki

ps: I intend to make this change for the 1.2.7 release.


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

Reply via email to