<div dir="ltr">Yeah, something is not working correctly there. The curly braces should not appear in the log message at all, they are placeholders for the toString substitutions of the arguments. The other confusing thing to me is the multiple DEBUG outputs. Is there any chance that what you are looking at is someone's wrapper around straight-up SLF4J? It would be helpful if you could show your source with at least the imports and maybe your logback.xml configuration as well.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 12:10 PM, gaston sponer <span dir="ltr"><<a href="mailto:gaston.sponer@hotmail.com" target="_blank">gaston.sponer@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi, i'm doing:<div><br></div><div>logger.debug("{}", employee);</div><div><br></div><div>And the log resutl is:</div><div><br></div><div> DEBUG [main] Company_Module - {}DEBUG Level - Personal: name=John, age=36, id=3124362]</div>
<div><br></div><div>Is there any way to remove curly braces before DEBUG word from this log?</div><div><br></div><div>I would like to have:</div><div><br></div><div> DEBUG [main] Company_Module -<font color="#d24726"> </font>DEBUG Level - Personal: name=John, age=36, id=3124362]</div>
<div><br></div><div><br></div><div>Thanks ˇ</div><div><br></div><div><br></div> </div></div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>