How to print debug message in JAAS LoginModule

Yaowen Tu yaowen.tu at gmail.com
Thu Dec 13 15:32:56 EST 2012


Hi,

I am implementing my JAAS LoginModule, and in it I want to log some debug
message, but it seems that idp-process.log doesn't contain them.

Here is some sample code:

*private* *static* *final* *Logger* *log* = *LoggerFactory*
.getLogger(SampleLoginModule.*class*);



    @Override

    *public* *void* initialize( Subject subject, CallbackHandler
callbackHandler, Map<String,?> sharedState, Map<String,?> options )

    {

        *log*.debug("Start initializing IdapiLoginModule.");

        ....

Should I change any configuration in order to make it work?

Thanks,
Yaowen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20121213/31f90d12/attachment.html 


More information about the users mailing list