
On 08/03/2011 10:40 PM, Christopher Piggott wrote:
One other question: String user = "chris"; log.debug("User {} is requesting system logs", user );
the log output I get is:
User {} is requesting system logs
So, clearly, parameterized logging is not working. I'm using logback classic 0.9.27 with slf4j api 1.6.1 and a bunch of other stuff to catch j.u.l and j.c.l.
It looks like parameterized logging has been there for a long time though.
It should be just that simple, shouldn't it?
What type is the log object? Can you send the output of the following? System.out.println(log.getClass()); -- QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, is looking to hire talented software developers. If interested, please email your resume to hr@qos.ch.