<div dir="ltr"><div><span style="font-size:12.8000001907349px">Thank you for your reply Cantor,</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><span style="font-size:12.8000001907349px">If you want to get logging via log4j to work, you drop in a shim that implements log4j on top of slf4j, which is available from the slf4j project.</span><br><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">-->Initially, I thought that the Shibboleth idp is using Slf4j(I did not observe log4j-over-slf4j), So i can implement calls of slf4j using log4j to print the logs in my module.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">I went through the links that you have shared with me, i understood the what is log4j-over-slf4j. But I could not confirm that how to print the logs in my external module which i have kept as a jar in the "idp/Web-inf/libs". Please help me to make it work.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Since we are using "ExternalAuthn", We have our servlets to handler the log-in mechanism, So i made this servlet as a jar file and kep it in the  </span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">"idp/Web-inf/libs" in tomcat web project.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 29, 2015 at 7:35 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 5/29/15, 8:02 AM, "users on behalf of Surinaidu Majji" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:pioneer.suri@gmail.com">pioneer.suri@gmail.com</a>> wrote:<br>
<br>
>We are using Slf4j and implementing slf4j with log4j to print the logs in console as well as in the file.The code which we are trying to printing the logs from created jar which is placed in the tomcat(idp/Web-Inf/lib) but when running the application i am not able to see printing the logs in the console.<br>
<br>
</span>If you want to get logging via log4j to work, you drop in a shim that implements log4j on top of slf4j, which is available from the slf4j project.<br>
<br>
You do NOT configure log4j itself, I don't believe.<br>
<br>
<a href="http://slf4j.org/legacy.html" target="_blank">http://slf4j.org/legacy.html</a><br>
<span class=""><br>
>Update: I got the following error even i have added dependency libs(slf4j-log4j12-1.7.5, log4j along with slf4j):<br>
<br>
</span>That implements slf4j calls by using log4j, you want to do the opposite, log4j over slf4j.<br>
<br>
<a href="http://slf4j.org/legacy.html#log4j-over-slf4j" target="_blank">http://slf4j.org/legacy.html#log4j-over-slf4j</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>