logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <lis...@qos.ch>
Subject Re: Root logger appenders in log4j 1.3
Date Fri, 23 Feb 2007 19:48:57 GMT

Hello Jake et al,

The complete log4j manual is correct as far as log4j 1.0, 1.1, 1.2 are 
concerned. However, in log4j 1.3 the behavior was changed because:

1) it is not what a user would expect without reading the docs (surprise 
2) very few people seemed to take advantage of the "pre 1.3" behaviour**

** The "pre 1.3" behavior was intended to support partial config files

The different behaviors should be transparent to the user as long as she 
does not do partial configs.

I hope this helps,

At 06:15 AM 2/23/2007, Jacob Kjome wrote:

>That's an interesting quote.  I have to admit that I haven't read the 
>Log4j manual and that's new to me.  In Log4j, reconfigurations are 
>genrally not destructive.  They are cumulative.  It sounds like the manual 
>is claiming that the ROOT logger is an exception to the rule.
>Have you tried this with Log4j-1.2.xx?  Do you get the same results or do 
>you get the behavior described in the manual?  It's certainly possible 
>that this contract was broken in 1.3.
>Ceki, Curt, anyone, can you shed any light on this topic?  What's the 
>expected behavior?  Is the manual right, wrong, or just being misinterpreted?

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message