ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kulkarni" <ashish.kulkarn...@gmail.com>
Subject Ibatis and JakartaCommonsLoggingImpl logging question
Date Thu, 23 Aug 2007 20:55:16 GMT
Hi
I am using log4j for logging and added the following XML elements in my
configuration file, but i still get the log file as below, how do i supress
these logs from coming in stdout file

2007-08-23 16:50:12,935 DEBUG [http-4080-Processor25]
jakarta.JakartaCommonsLoggingImpl (JakartaCommonsLoggingImpl.java:23) -
{conn-100000} Connection
2007-08-23 16:50:13,095 DEBUG [http-4080-Processor25]
jakarta.JakartaCommonsLoggingImpl (JakartaCommonsLoggingImpl.java:23) -
{pstm-100001} PreparedStatement:
2007-08-23 16:50:13,095 DEBUG [http-4080-Processor25]
jakarta.JakartaCommonsLoggingImpl (JakartaCommonsLoggingImpl.java:23) -
{pstm-100001} Parameters: [ASHXXX]
2007-08-23 16:50:13,095 DEBUG [http-4080-Processor25]
jakarta.JakartaCommonsLoggingImpl (JakartaCommonsLoggingImpl.java:23) -
{pstm-100001} Types: [java.lang.String]
2007-08-23 16:50:13,255 DEBUG [http-4080-Processor25]
jakarta.JakartaCommonsLoggingImpl (JakartaCommonsLoggingImpl.java:23) -
{rset-100002} ResultSet


<category name="log4j.logger.com.ibatis">
      <priority value="warn"></priority>
      <appender-ref ref="A1" />
</category>
<category name="log4j.logger.java.sql">
     <priority value="warn"></priority>
     <appender-ref ref="A1" />
</category>

Mime
View raw message