Not able to Print logs using SLF4j from Idp

Cantor, Scott cantor.2 at osu.edu
Mon Jun 1 09:39:15 EDT 2015


On 6/1/15, 2:44 AM, "users on behalf of Surinaidu Majji" <users-bounces at shibboleth.net on behalf of pioneer.suri at gmail.com> wrote:

>
>-->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.

You can, I suppose, we don't have much experience with anybody trying that. It should be possible provided an appropriate log4j configuration is given to it.

>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.

I've told you what I can to help you. If you want to know how to write logging code with slf4j, look at the IdP code or read their docs.

-- Scott



More information about the users mailing list