logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@ewarna.com>
Subject Re: Automatic initialization with log4j.xml
Date Wed, 28 Aug 2002 09:28:11 GMT
On Wednesday 28 August 2002 17:08, Ceki Gülcü wrote:
> 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.

Great!  Never got the hang of properties format...

And as long as it manage to not to fail in runtime if JAXP is not present...


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