Add the following to your $JBOSS_HOME/server/default/conf/log4j.xml file :

  |    <appender name="SECURITYLOG" class="org.apache.log4j.FileAppender">
  |     <param name="File" value="${jboss.server.home.dir}/log/security.log"/>
  |     <param name="Append" value="false"/>
  | 
  |     <layout class="org.apache.log4j.PatternLayout">
  |       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
  |     </layout>
  |    </appender>
  | 
  |    <category name="org.jboss.security.auth">
  |      <priority value="TRACE" class="org.jboss.logging.XLevel"/>
  |      <appender-ref ref="SECURITYLOG"/>
  |    </category>
  | 

This will log in a file called security.log trace messages for the  
org.jboss.security.auth package.






View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853154#3853154

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853154


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to