Re: better way to handle objects in messages?

2013-06-09 Thread Nick Williams
Check out Log4j 2. It has a significantly expanded API that does just what you're looking for. http://logging.apache.org/log4j/2.x/ Nick On Jun 9, 2013, at 4:36 PM, Ray Kiddy wrote: > > I have done something and can see where it might be generalized to help other > users of log4j. Has this i

better way to handle objects in messages?

2013-06-09 Thread Ray Kiddy
I have done something and can see where it might be generalized to help other users of log4j. Has this issue already been discussed or dealt with in some other way? I found a bunch of these in a large legacy application: log.debug("the object "+obj+" is something something blah blah bl