We have LoggerNameLevelRewritePolicy.

https://logging.apache.org/log4j/2.x/manual/appenders.html#RewriteAppender

On Thu, Apr 20, 2017 at 9:00 PM, Matt Sicker <[email protected]> wrote:

> The conversations there make me think that some sort of ability to rewrite
> log levels emitted from various loggers at configuration time could be
> useful. For instance, some libraries are rather spammy in the info or warn
> level, and having to suppress all non-error messages from those frameworks
> doesn't seem like an ideal way to configure things. It could be more
> complicated than it's worth, however.
>
> On 20 April 2017 at 13:22, Matt Sicker <[email protected]> wrote:
>
> > Interesting comments. In the typical reddit fashion, I propose a Buzzfeed
> > listicle on logging based on the thread. Or at least some manual
> > enhancements.
> >
> > On Thu, Apr 20, 2017 at 06:28, Mikael Ståldal <[email protected]
> >
> > wrote:
> >
> >> https://www.reddit.com/r/programming/comments/66ftqf/
> >> logging_levels_the_wrong_abstraction/
> >>
> >> --
> >> [image: MagineTV]
> >>
> >> *Mikael Ståldal*
> >> Senior software developer
> >>
> >> *Magine TV*
> >> [email protected]
> >> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com
> >>
> >> Privileged and/or Confidential Information may be contained in this
> >> message. If you are not the addressee indicated in this message
> >> (or responsible for delivery of the message to such a person), you may
> not
> >> copy or deliver this message to anyone. In such case,
> >> you should destroy this message and kindly notify the sender by reply
> >> email.
> >>
> > --
> > Matt Sicker <[email protected]>
> >
>
>
>
> --
> Matt Sicker <[email protected]>
>



-- 
[image: MagineTV]

*Mikael Ståldal*
Senior software developer

*Magine TV*
[email protected]
Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com

Privileged and/or Confidential Information may be contained in this
message. If you are not the addressee indicated in this message
(or responsible for delivery of the message to such a person), you may not
copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender by reply
email.

Reply via email to