[infinispan-dev] Logging in Infinispan

Manik Surtani manik at jboss.org
Wed Jan 26 07:09:32 EST 2011


On 26 Jan 2011, at 11:50, Mircea Markus wrote:

> I like the existing one more, as it makes it easier for me too which params goes where. 

It's non-standard though.  I see people using String.format() to create exception messages - which is fine - but it means we have inconsistencies in the ways strings are created for logs and for exceptions.

Plus the C style of using %1$s isn't particularly hard, is it?  :)  The fact that it starts with '1' as opposed to '0' is a bit odd though.

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

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






More information about the infinispan-dev mailing list