ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Jenkins <krisajenk...@yahoo.co.uk>
Subject Re: Warning messages coming while using Log4j
Date Tue, 14 Dec 2004 11:41:03 GMT
rohit.vohra@tcs.com wrote:

>
> Hi,
>
>         Another module of mine is using Log4j, so can't remove it.
>         I looked up the following log4j.properties file in my 
> application starting class :


Ah.  So you are using log4j, you just want to keep it quiet about 
iBatis-related stuff?  Try adding this:

log4j.logger.java.sql=WARN
log4j.logger.com.ibatis=WARN

(I /think/ the syntax is right here, but I use the XML format myself.  YMMV)

HTH,
Kris

-- 
Kris Jenkins
Email:  kris@jenkster.com
Blog:   http://cafe.jenkster.com/
Wiki:   http://wiki.jenkster.com/


Mime
View raw message