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 Niclas Hedhman <ni...@ewarna.com> on 2002/08/28 11:28:11 UTC

Re: Automatic initialization with log4j.xml

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...

Niclas

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>