Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 12155 invoked from network); 8 Aug 2008 19:36:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2008 19:36:28 -0000 Received: (qmail 6104 invoked by uid 500); 8 Aug 2008 19:36:21 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 6084 invoked by uid 500); 8 Aug 2008 19:36:21 -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 6073 invoked by uid 99); 8 Aug 2008 19:36:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 12:36:21 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.184.231] (HELO wr-out-0506.google.com) (64.233.184.231) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 19:35:23 +0000 Received: by wr-out-0506.google.com with SMTP id 57so870711wri.12 for ; Fri, 08 Aug 2008 12:35:50 -0700 (PDT) Received: by 10.90.89.14 with SMTP id m14mr1817271agb.30.1218224149619; Fri, 08 Aug 2008 12:35:49 -0700 (PDT) Received: by 10.90.54.16 with HTTP; Fri, 8 Aug 2008 12:35:49 -0700 (PDT) Message-ID: Date: Fri, 8 Aug 2008 15:35:49 -0400 From: "Ian Zabel" To: user-java@ibatis.apache.org Subject: Logging Query Execution Time MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Afternoon, all. I'd like to easily enable logging of the time it takes to run iBATIS queries. I found this article which is the basic idea http://www.learntechnology.net/content/misc/aop_oldskool.jsp But, it's written to use the deprecated iBATIS DAO. Is there any built-in way to enable this nowadays? Just don't want to reinvent the wheel... Ian.