What I'm suggesting is remapping the levels before they're filtered. That's
just for the output format.
On 21 April 2017 at 11:04, Mikael Ståldal wrote:
> We have LoggerNameLevelRewritePolicy.
>
> https://logging.apache.org/log4j/2.x/manual/appenders.html#RewriteAppender
>
> On Thu, Apr 20, 2017
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 wrote:
> The conversations there make me think that some sort of ability to rewrite
> log levels emitted from various loggers at configur
Good Morning Chen
Sad to see you leave. You can unsubscribe yourself by sending a mail to
dev-unsubscr...@logging.apache.org.
Cheers,
Dominik
On 2017-04-21 03:52, Chen Y wrote:
Please remove me from this mailing list.
Thank you
On Apr 20, 2017 9:28 AM, "Mikael Ståldal" wrote:
https://w
Please remove me from this mailing list.
Thank you
On Apr 20, 2017 9:28 AM, "Mikael Ståldal" wrote:
> https://www.reddit.com/r/programming/comments/66ftqf/
> logging_levels_the_wrong_abstraction/
>
> --
> [image: MagineTV]
>
> *Mikael Ståldal*
> Senior software developer
>
> *Magine TV*
> mikae
For instance, suppose I want to drop the level of all log messages in the
parent logger "org.example.project" by one priority except for error. So
this would map WARN -> INFO, INFO -> DEBUG, etc. I'm not exactly sure on a
DSL here, but it's more of a thought than a feature request right now.
On 20
I’d have to see an example to understand the benefit. As it is right now you
have to configure a logger for each thing you want to manage at its own logging
level. If you were going to “re-write” the logging level how would you do that
without having to configure each logger with the new level?
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
doe
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
wrote:
>
> https://www.reddit.com/r/programming/comments/66ftqf/logging_levels_the_wrong_abstract
https://www.reddit.com/r/programming/comments/66ftqf/logging_levels_the_wrong_abstraction/
--
[image: MagineTV]
*Mikael Ståldal*
Senior software developer
*Magine TV*
mikael.stal...@magine.com
Grev Turegatan 3 | 114 46 Stockholm, Sweden | www.magine.com
Privileged and/or Confidential Infor