[jboss-user] [JBossWS] - Re: Log4j and Web Service question

acxjbertr do-not-reply at jboss.com
Fri Dec 1 09:03:47 EST 2006


Here's an example...

The appender I'm using:

  |    <appender name="SOAP" class="org.jboss.logging.appender.DailyRollingFileAppender">
  |       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  |       <param name="File" value="${jboss.server.home.dir}/log/soap.log"/>
  |       <param name="Append" value="true"/>
  |       <param name="Threshold" value="DEBUG"/>
  |       <param name="DatePattern" value="yyyy-MM-dd"/>
  |      
  |       <layout class="org.apache.log4j.PatternLayout">
  |             <param name="ConversionPattern" value="[%x] %d{ABSOLUTE} [%c{1}] %m%n"/>
  |       </layout>
  |    </appender>
  | 

The category I am using:

  |    <!-- set the "priority" to DEBUG to see SOAPMessage output in file "soap.log" -->
  |    <category name="jbossws.SOAPMessage">
  |       <priority value="DEBUG"/>
  |       <appender-ref ref="SOAP"/>
  |    </category>
  | 



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

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



More information about the jboss-user mailing list