[jboss-user] [Security & JAAS/JBoss] - Re: JAAS - LDAPExtLoginModule
Wolfgang Knauf
do-not-reply at jboss.com
Wed Jan 21 07:33:48 EST 2009
Hi,
if you post xml, use the "post reply" button and wrap your snippets in "Code" tags. Thus your XML will not be lost. Don't reply directly in the thread view.
I use this config in "server/default/conf/jboss-log4j.xml" to log ALL security output to a new console appender, which is set to TRACE level:
<appender name="CONSOLE.SECURITY" class="org.apache.log4j.ConsoleAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Target" value="System.out"/>
| <param name="Threshold" value="TRACE"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
| </layout>
| </appender>
| ...
|
| <category name="org.jboss.security">
| <priority value="TRACE"/>
| <appender-ref ref="CONSOLE.SECURITY"/>
| </category>
|
Hope this provides you with more information.
Wolfgang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203604#4203604
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203604
More information about the jboss-user
mailing list