ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "meindert" <meind...@eduflex.com>
Subject RE: IBATIS + GWT +Log4j
Date Thu, 18 Feb 2010 13:44:01 GMT
I found the 'solution' right after posting the question (isn't it always
like that J)

I had the commons logging jar on my classpath, after removing this jar the
logging works as intended.

 

 

From: meindert [mailto:meindert@eduflex.com] 
Sent: 18 February 2010 03:30 PM
To: user-java@ibatis.apache.org
Subject: IBATIS + GWT +Log4j

 

Hi All,

 

I have been struggling for a while now to get the logging for ibatis working
in GWT hosted mode.

Is there anybody who had the same issue and has resolved it?

The logging is setup correctly and works for my own logging statements
What do is, at start-up, I pass the real path to a function that initiates
the log4j configuration;

DOMConfigurator.configure(realPath+"/WEB-INF/log4jproperties.xml");


 

After I compile the GWT and run the server normally (eclipse) the IBATIS sql
is logged correctly. 

 

This is explained in more details on;

http://whatwouldnickdo.com/wordpress/186/gwt-hosted-mode-and-log4j/

 

Kind Regards

Meindert Hoving

 


Mime
View raw message