On Fri, Sep 11, 2015 at 4:23 PM, Ralph Goers <ralph.go...@dslextreme.com>
wrote:

>
> > On Sep 11, 2015, at 3:50 PM, Gary Gregory <garydgreg...@gmail.com>
> wrote:
> >
> >
> > This updated text I hope will help:
> >
> > "No new loggers needed, just an additional parameter to your log call,
> > <em>regardless</em> of the level API used.
> >
> > Now, I can configure Log4j to log only events that contain the marker
> DOOR
> > (if that level is enabled).”
>
> This isn’t necessarily true.  If you have a global filter that accepts the
> event then the log level of the appropriate logger will not be checked.
> However, other filters on the AppenderRef and Appenders will still be
> checked.
>

Hm, OK, but I am not sure I want to make that part of the article more
complicated. I could say "if that level is enabled and a global filter did
not accepts the event".

Gary

>
> Ralph
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to