logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: approach for defining loggers
Date Fri, 11 Sep 2015 23:23:08 GMT

> On Sep 11, 2015, at 3:50 PM, Gary Gregory <garydgregory@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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message