<html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><body><p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Hi all,<br /></span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">I am trying to use logback 1.1.3 with slf4j 1.7.12.</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">This is my log statement:</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">logger.debug("%s %d, %d", "a", 1, 2);</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">The logger is a static constant:</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">private static final Logger logger = LoggerFactory.getLogger(TTSGrammarTest.class);</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">The output of the log statement is:</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">02:35:16.415 [main] DEBUG test.TTSGrammarTest - %s %d, %d<br /></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Apparently, the format string and the supplied parameters are not evaluated correctly.</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">I don't have any logging configuration - the program is run under eclipse.</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Thanks in advance for any help,</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Arne</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"> </p></body></html>