logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal <mikael.stal...@magine.com>
Subject Re: Fastest no logging config
Date Tue, 15 Mar 2016 08:56:31 GMT
How would you use such a thing?

On Mon, Mar 14, 2016 at 10:00 PM, Gary Gregory <garydgregory@gmail.com>

> I'm seeing mehtods isTraceEnabled() show up in my profiling sessions.
> I'd like to be able to configure Log4j as totally no-op when for use cases
> where performance is all that matters.
> I wonder if we could have a NoOpLogger in core that just stubs out
> everything, and another ErrorLogger that NoOps everything below ERROR.
> Thoughts?
> Gary
> --
> E-Mail: garydgregory@gmail.com | ggregory@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

[image: MagineTV]

*Mikael Ståldal*
Senior software developer

*Magine TV*
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

View raw message