Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 7579 invoked from network); 5 Aug 2005 13:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 13:21:50 -0000 Received: (qmail 87800 invoked by uid 500); 5 Aug 2005 13:21:48 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 87743 invoked by uid 500); 5 Aug 2005 13:21:46 -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 87728 invoked by uid 99); 5 Aug 2005 13:21:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 06:21:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dhsilva@gmail.com designates 64.233.184.202 as permitted sender) Received: from [64.233.184.202] (HELO wproxy.gmail.com) (64.233.184.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 06:21:36 -0700 Received: by wproxy.gmail.com with SMTP id i34so341680wra for ; Fri, 05 Aug 2005 06:21:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SIDPrjvrNlbXHpQvuO7UBSHGCNUWLJLLTEoqBnl/XH2Jyiw+XHGl6EDzno8AMJ7R7sMycbsUeFfBUNEjahJuyVHnEq+vnnBLSQXocm89y1epAzVWSUZtfkdSpZ4Yw90L0ERpW2ohFLizxip24Cx0Qo7zGaEBzXPyM+zkApgsNIo= Received: by 10.54.126.17 with SMTP id y17mr2468964wrc; Fri, 05 Aug 2005 06:21:44 -0700 (PDT) Received: by 10.54.71.9 with HTTP; Fri, 5 Aug 2005 06:21:44 -0700 (PDT) Message-ID: <762ca9ae05080506217898889b@mail.gmail.com> Date: Fri, 5 Aug 2005 10:21:44 -0300 From: Daniel Henrique Ferreira e Silva Reply-To: Daniel Henrique Ferreira e Silva To: user-java@ibatis.apache.org Subject: Re: SQL logging In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <762ca9ae05080313162af5d9d9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Vahan, You'll find all necessary upgrade information on iBATIS documentation. Just point your browser to http://ibatis.apache.org Cheers, Daniel Silva. On 8/3/05, vamirbekyan@worldbank.org wrote: > I am planning for it. > do you have a link handy to a complete reference on the upgrade instructi= ons > from v1.0 to the latest? > I need to evaluate the effort. >=20 > Vahan Amirbekyan > ISG Business Systems > The World Bank > 1850 I Street, NW, Washington, DC 20433 > Tel: 202 / 458-9642 (office) > vamirbekyan@worldbank.org >=20 >=20 >=20 >=20 > Daniel Henrique > Ferreira e > Silva = To > com> = cc >=20 > 08/03/2005 S= ubject > 05:16 PM Re: SQL logging >=20 >=20 > Please respond > to > user-java@ibati > s.apache.org >=20 >=20 >=20 >=20 >=20 >=20 > Hi Vamirberkyan, >=20 > By the way, why don't you try iBATIS latest version? Version 1.x was > cool, but version 2.x is super cool ;-) >=20 > It has a lot of features that i bet you couldn't live without them > after getting introduced to. >=20 > My 2 cents, > Daniel Silva. >=20 >=20 >=20 > On 8/3/05, vamirbekyan@worldbank.org wrote: > > thank you Zhongmin! > > I was two clicks away from having logs I needed after receiving your me= ssage! > > > > > > > > > > Zhongmin Chen > > > gmail.com> > To > > user-java@ibatis.apache.org > > 08/03/2005 > cc > > 03:03 PM > > > Subject > > Re: SQL logging > > Please respond > > to > > user-java@ibati > > s.apache.org > > > > > > > > > > > > > > Hi, > > > > Having something similar to the following in log4j.properties will help= . > > > > Regards, > > Zhongmin > > > > # Global logging configuration > > log4j.rootLogger=3Derror,stdout > > # log4j.rootLogger=3Ddebug,ibatisFile > > > > # Console output... > > log4j.appender.stdout=3Dorg.apache.log4j.ConsoleAppender > > log4j.appender.stdout.layout=3Dorg.apache.log4j.PatternLayout > > log4j.appender.stdout.layout.ConversionPattern=3D%5p [%t] - %m%n > > > > ########### for ibatis > > # SqlMap logging configuration... > > log4j.logger.com.ibatis=3DDEBUG,ibatisFile > > log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=3DDEBUG,ibatisFile > > log4j.logger.com.ibatis.common.jdbc.ScriptRunner=3DDEBUG,ibatisFile > > > log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=3DDEBUG,i= batisFile > > log4j.logger.java.sql.Connection=3DDEBUG,ibatisFile > > log4j.logger.java.sql.Statement=3DDEBUG,ibatisFile > > log4j.logger.java.sql.PreparedStatement=3DDEBUG,ibatisFile > > log4j.logger.java.sql.ResultSet=3DDEBUG,ibatisFile > > > > log4j.appender.ibatisFile=3Dorg.apache.log4j.RollingFileAppender > > log4j.appender.ibatisFile.MaxFileSize=3D6MB > > log4j.appender.ibatisFile.immediateFlush=3Dtrue > > log4j.appender.ibatisFile.MaxBackupIndex=3D3 > > log4j.appender.ibatisFile.File=3D > > log4j.appender.ibatisFile.Threshold=3DDEBUG > > log4j.appender.ibatisFile.append=3Dtrue > > log4j.appender.ibatisFile.layout=3Dorg.apache.log4j.PatternLayout > > log4j.appender.ibatisFile.layout.ConversionPattern=3D%d{DATE} %c{3} %p = - %m%n > > > > > > > > On 8/3/05, vamirbekyan@worldbank.org wrote: > > > I am using iBatis 1.0 > > > any clue on to get iBatis1.0 to start logging generated queries? > > > > > > I have > > > com.ibatis=3DDEBUG > > > in log4j.properties that does not help > > > > > > > > > > > > > > > > > > > > > TNO > > > > > > > > To > > > user-java@ibatis.apache.org > > > 08/03/2005 > > cc > > > 07:30 AM > > > > > Subject > > > Re: SQL logging > > > Please respond > > > to > > > user-java@ibati > > > s.apache.org > > > > > > > > > > > > > > > > > > > > > Try > > > > > > > > > > > > > > > > > > Eugeny N Dzhurinsky a =E9crit : > > > > > > >Is there any way to view the queries the iBATIS generates? I tried t= o set > up > > > >the java.sql=3DDEBUG, in log4j, but no luck for now. > > > > > > > > > > > > > > > > > > > > > -- > > > Il n'y a pas de mauvais langage, il n'y a que des bons programmeurs..= . > > > > > > > > > > > > > > > > > > > > > > > >=20 >=20 >=20 >