Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 57710 invoked from network); 9 Oct 2010 12:35:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Oct 2010 12:35:59 -0000 Received: (qmail 63026 invoked by uid 500); 9 Oct 2010 12:35:58 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 62758 invoked by uid 500); 9 Oct 2010 12:35:56 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 62747 invoked by uid 99); 9 Oct 2010 12:35:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 12:35:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 12:35:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o99CZVrW011695 for ; Sat, 9 Oct 2010 12:35:32 GMT Message-ID: <19312127.54401286627731670.JavaMail.jira@thor> Date: Sat, 9 Oct 2010 08:35:31 -0400 (EDT) From: "Valentin Mahrwald (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Commented: (ARIES-442) Downgrade exception logging from error to debug within TxInterceptorImpl In-Reply-To: <14971039.26781286468371711.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ARIES-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919489#action_12919489 ] Valentin Mahrwald commented on ARIES-442: ----------------------------------------- Logging in the normal return case got downgraded to debug in #1006142. The error level in the postCallWithException seems more appropriate, since the TransactionRollback exception does not thrown on. Does that sound reasonable? > Downgrade exception logging from error to debug within TxInterceptorImpl > ------------------------------------------------------------------------ > > Key: ARIES-442 > URL: https://issues.apache.org/jira/browse/ARIES-442 > Project: Aries > Issue Type: Improvement > Components: Transaction > Affects Versions: 0.3 > Reporter: Craig Muchinsky > Assignee: Valentin Mahrwald > Priority: Minor > > Exception logging within the TxInterceptorImpl class is currently done at error level, however in many cases these exceptions are expected and shouldn't be cause for concern. For example, I have an application that gracefully handles txn rollbacks due to database deadlocks and retries them, so I don't want the log file to get filled with stack traces unnecessarily. Currently the only workaround is to turn off logging for TxInterceptorImpl specifically. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.