[infinispan-dev] trace vs log.isTraceEnabled

Manik Surtani manik at jboss.org
Wed Dec 7 11:42:21 EST 2011


On 7 Dec 2011, at 16:37, Sanne Grinovero wrote:

> On 7 December 2011 16:15, Manik Surtani <manik at jboss.org> wrote:
>> Sanne,
>> 
>> +1 to consistency.  I suggest we
>> repurpose https://issues.jboss.org/browse/ISPN-1429 to a consistent logging
>> scheme.  My preference is for a static final boolean trace =
>> log.isTraceEnabled().
>> 
>> But I do see Erik's concerns about wanting to switch on tracing on the fly.
>> 
>> - Manik
> 
> Not sure if you can wait, but as soon as I have some free time (i.e.
> christmas?) I'll make a POC of a solution taking the best of two
> worlds. Need a POC before talking further about it :D

Yeah that's fine.

--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org






More information about the infinispan-dev mailing list