Assuming standalone.xml, update the <subsystem xmlns="urn:jboss:domain:logging:1.1"> section, adding a new console-handler which deals with TRACE level messages only:
<console-handler name="CONSOLE_TRC">
<level name="TRACE"/>
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
</console-handler>
and link it up to a new org.jboss.securty logger:
<logger category="org.jboss.security">
<level name="TRACE"/>
<handlers>
<handler name="CONSOLE_TRC"/>
</handlers>
</logger>
Finally, restart the jboss server :)
To view what's happening within the jboss 7 security subsystem, you need to enable logging of org.jboss.security.
ReplyDeleteThe FSS website