<body bgcolor="#ffffff" background="https://img.web.de/v/p.gif" class="bgRepeatYes" style="background-repeat: repeat;  background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: verdana,geneva; font-size: 9pt; padding-left: 0px;"><div style="min-height: 200px; background-image: url(https://img.web.de/v/p.gif); background-repeat: repeat; background-color: #ffffff; font-family: verdana,geneva; font-size: 9pt; padding-left: 0px;"><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;">Hi,<br /><br />just tried to set up logging with logback on tomcat6. When I start tomcat with my webapplication I get the message from<br />the jndi context selector "searching for mylogback.xml" followed with status information lines&nbsp; 3 times within my catalina.out (the timestamps are the same)<br />and wonder if this as expected?<br /><br />What I did:<br />- copied logback core, classic, access and the slf4j api libraries to tomcats lib folder. I added the valve to the server.xml (but no lobback-access.xml right now).<br />I added the "</span></span></span></span></span>-Dlogback.ContextSelector=JNDI" within setenv.sh instead to catalina.sh as this is or me the bedder place.<br /><br />Within web.xml I added the filter and listener as recommended, added both jndi env entries as stated within chapter 9.<br /><br /><br />There is just one webapp running currently, but need to set up same webapp within same tomcat multiple times.<br /><br />Did I missed anything or do you have any idea why the message is displayed three times?<br /><br />Many thanks in advance<br />Markus<br /><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;"><br /><br /></span></span></span></span></span></div>&nbsp;&nbsp;<br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="https://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir&nbsp;&nbsp;&nbsp;<br>belohnen Sie mit bis zu 50,- Euro! <a href="https://freundschaftswerbung.web.de"><b>https://freundschaftswerbung.web.de</b></a></td></tr></table>
</body>