ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tokajac <imre_to...@hotmail.com>
Subject Re: iBatis Tomcat log4j IntelliJ IDEA
Date Fri, 18 Jul 2008 19:42:01 GMT

That's exactly the topic here.
My aim is to see SELECT * FROM... , INSERT INTO...
on the console when they're executed

Any more ideas?


Regards

                       




kiran vuppla wrote:
> 
> Can we able to log the Queries (I mean what is the query/ query
> description) that are executed using IBatis? If so can some one let me
> know how to configure such that I would like to see the query description
> that is executed?
>  
> Thanks,
> KV
> 
> --- On Thu, 7/17/08, Giovanni Cuccu <giovanni.cuccu@gmail.com> wrote:
> 
> From: Giovanni Cuccu <giovanni.cuccu@gmail.com>
> Subject: Re: iBatis Tomcat log4j IntelliJ IDEA
> To: user-java@ibatis.apache.org
> Date: Thursday, July 17, 2008, 1:40 PM
> 
> Hi,
>  in the log4j config file you have to configure the java.sql logger to
> debug
> Giovanni
> 
> On Thu, Jul 17, 2008 at 8:34 PM, Tokajac <imre_tokai@hotmail.com> wrote:
>>
>> I'm working with Tomcat and Struts framework.
>>
>> I want to log SQL queries (SELECT, INSERT, UPDATE...) with log4j.
>> I configured log4j, it works fine for other logs.
>>
>> I don't know how can I get the queries that are executed?
>>
>>
>> Regards
>> --
>> View this message in context:
> http://www.nabble.com/iBatis-Tomcat-log4j-IntelliJ-IDEA-tp18515069p18515069.html
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> --------------------------------------------------------------------
> "You don't know the power of dark side" - Darth Vader
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/iBatis-Tomcat-log4j-IntelliJ-IDEA-tp18515069p18536463.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message