Thanks it works.<br><br clear="all"><div>Yaowen</div><br>
<br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 12:39 PM, Kevin P. Foote <span dir="ltr"><<a href="mailto:kpfoote@iup.edu" target="_blank">kpfoote@iup.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When ever Im making an add on to the shib-idp I've included the following<br>
<br>
import org.slf4j.Logger;<br>
import org.slf4j.LoggerFactory;<br>
<br>
And then created my logger<br>
<br>
/** Class logger. */<br>
private final Logger log =<br>
LoggerFactory.getLogger(SomethingCool.class);<br>
<br>
Then just up the logging in the logging.xml file<br>
<br>
<!-- Logs @ DEBUG level --><br>
<logger name="edu.iup.shib"><br>
<level value="DEBUG" /><br>
</logger><br>
<br>
<br>
This seems to work for me on all my addons etc..<br>
<br>
------<br>
thanks<br>
kevin.foote<br>
<br>
On Thu, 13 Dec 2012, Yaowen Tu wrote:<br>
<br>
-> Hi,<br>
-><br>
-> I am implementing my JAAS LoginModule, and in it I want to log some debug<br>
-> message, but it seems that idp-process.log doesn't contain them.<br>
-><br>
-> Here is some sample code:<br>
-><br>
-> *private* *static* *final* *Logger* *log* = *LoggerFactory*<br>
-> .getLogger(SampleLoginModule.*class*);<br>
-><br>
-><br>
-><br>
-> @Override<br>
-><br>
-> *public* *void* initialize( Subject subject, CallbackHandler<br>
-> callbackHandler, Map<String,?> sharedState, Map<String,?> options )<br>
-><br>
-> {<br>
-><br>
-> *log*.debug("Start initializing IdapiLoginModule.");<br>
-><br>
-> ....<br>
-><br>
-> Should I change any configuration in order to make it work?<br>
-><br>
-> Thanks,<br>
-> Yaowen<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>
</blockquote></div><br>