Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 45344 invoked from network); 18 Jul 2008 13:20:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 13:20:14 -0000 Received: (qmail 80331 invoked by uid 500); 18 Jul 2008 13:20:08 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 80311 invoked by uid 500); 18 Jul 2008 13:20:07 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 80300 invoked by uid 99); 18 Jul 2008 13:20:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 06:20:07 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.48.186] (HELO web52503.mail.re2.yahoo.com) (206.190.48.186) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 18 Jul 2008 13:19:12 +0000 Received: (qmail 11048 invoked by uid 60001); 18 Jul 2008 13:18:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=oQmzy2OIrLPM1kUjhmjTU6Gwuxg2OP6/vHu3NwWf+wGjLgCpHeEhQRzq8U/Xke7+lrB59dMCytOBZhcwAsCdAMtrNZEZx2h8Q9q9HOklB0sa8Vi0tGqhXLC0/6iXyn9gII7dhrnKiJfuiTKZ4Y0lqxyqnD/TGl6vvqD/K/Gb4hA=; Received: from [65.204.56.3] by web52503.mail.re2.yahoo.com via HTTP; Fri, 18 Jul 2008 06:18:35 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 18 Jul 2008 06:18:35 -0700 (PDT) From: kiran vuppla Reply-To: kirankumar_vuppla@yahoo.com Subject: Re: iBatis Tomcat log4j IntelliJ IDEA To: user-java@ibatis.apache.org In-Reply-To: <23e0d1170807171140l342c9927yab01ade74ee7bcb3@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-646985620-1216387115=:11037" Message-ID: <774998.11037.qm@web52503.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-646985620-1216387115=:11037 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Can we able to log the Queries (I=A0mean what is the query/ query descripti= on)=A0that 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 exec= uted? =A0 Thanks, KV --- On Thu, 7/17/08, Giovanni Cuccu wrote: From: Giovanni Cuccu 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 debu= g Giovanni On Thu, Jul 17, 2008 at 8:34 PM, Tokajac 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. > > --=20 -------------------------------------------------------------------- "You don't know the power of dark side" - Darth Vader=0A=0A=0A --0-646985620-1216387115=:11037 Content-Type: text/html; charset=us-ascii

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

--0-646985620-1216387115=:11037--