ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Bick" <werbemai...@gmx.de>
Subject Turning IBatis Logging off (in JBoss Server)
Date Fri, 09 Jan 2009 11:27:26 GMT
Hi there!

I have a little (or big?) Problem with my J2EE-Application using IBatis/Spring in an JBoss-Environment
(IBatis 2.3.4, Spring 2.5 and JBoss 4.0.3SP1 <- The last one is a must have!).

IBatis generates tons of debug-messages every time a SQL-Request is sent to the database (Oracle
10g2). Well. I can see which SQL-Statement is sent, all the parameters and even all the result-lines
after the execution of the query.

JBoss is using Log4j-Output. I configured the log4j.xml to limit the IBatis-output for "ERROR"-messages,
but it is ignored. This is what I have configured in the log4j.xml:

   <category name="com.ibatis">
     <priority value="ERROR" />

   <category name="org.springframework">
     <priority value="ERROR" />

What is wrong with this? I have even configured the log4j-root to "priority value=ERROR",
but IBatis still prints out thousands of lines.
Untill now the JBoss-Log is about 10 GB (!!!) and still growing. 

Can somebody help me? Thanks!

Daniel Bick
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

View raw message