logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Automatic initialization with log4j.xml
Date Wed, 28 Aug 2002 09:08:53 GMT

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.


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

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

View raw message