I have already given that
<!--
====================================================================================-->
<!-- All Web Service Trace logged directly to MySQL Database, through JDBC Appender
-->
<!--
====================================================================================-->
<appender name="JDBC"
class="org.apache.log4j.jdbc.JDBCAppender">
| <errorHandler
class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Driver" value="com.mysql.jdbc.Driver"/>
| <param name="URL" value="jdbc:mysql://127.0.0.1:3306/logdb"
/>
| <param name="user" value="root" />
| <param name="password" value="root" />
| <param name="sql" value="insert into logTable (message, class,
priority, log_date)
| values ('%m', '%c', '%p',
'%d{dd.MM.yyyy}')"/>
| </appender>
|
| <category name="org.jboss.ws.core.MessageTrace">
| <appender-ref ref="JDBC"></appender-ref>
| <priority value="TRACE"/>
| </category>
The same category works if it is for a file appender
Pls help
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209760#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...