I'd rather alter the toString behaviour with -Dinfinispan.commands.debug than 
the log verbosity level.
You have precedent in org.infinispan.util.Util.printArray 
(-Dinfinispan.arrays.debug) used by ByteArrayKey.toString

Radim

----- Original Message -----
| From: "Adrian Nistor" <[email protected]>
| 
| What if we include that verbose info in toString() only if trace is
| enabled? :)
| 
| On 02/20/2013 02:36 PM, Dan Berindei wrote:
| 
| 
| Yeah, we couldn't introduce a RpcDispatcher.includeCacheEntries
| category anyway because the cache entries are included in the
| command's toString() - the logger can't do anything to filter them
| out.
| 
| 
| I think we could eliminate the cache entries from
| StateResponseCommand.toString() (and the segment owners from
| ConsistentHash.toString()), and only log them separately, under a
| different category/class name.
| 
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to