ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "meindert" <meind...@eduflex.com>
Subject IBATIS + GWT +Log4j
Date Thu, 18 Feb 2010 13:30:28 GMT
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