Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9C80DE1E for ; Wed, 4 Jul 2012 07:40:37 +0000 (UTC) Received: (qmail 17869 invoked by uid 500); 4 Jul 2012 07:40:37 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 17735 invoked by uid 500); 4 Jul 2012 07:40:36 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 17163 invoked by uid 99); 4 Jul 2012 07:40:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 07:40:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BF2C8142822 for ; Wed, 4 Jul 2012 07:40:34 +0000 (UTC) Date: Wed, 4 Jul 2012 07:40:34 +0000 (UTC) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1648887766.2380.1341387634784.JavaMail.jiratomcat@issues-vm> In-Reply-To: <822328502.7654.1339508744213.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (JCR-3339) Log stack trace with warn message in ObservationDispatcher MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-3339: ---------------------------------- Fix Version/s: 2.2.13 Merged into 2.2 branch in revision: 1357125 > Log stack trace with warn message in ObservationDispatcher > ---------------------------------------------------------- > > Key: JCR-3339 > URL: https://issues.apache.org/jira/browse/JCR-3339 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Marcel Reutegger > Priority: Minor > Fix For: 2.2.13, 2.5.1 > > > Currently the ObservationDispatcher only logs the toString() of the exception of an event consumer in a warn message. One needs to enable debug level for ObservationDispatcher to get the stack trace of the exception. Most of the time it's quite difficult to track down the root cause of the exception without a stack trace. Enabling debug logging after the issue occurs is also not very convenient. > I suggest we print the stack trace of the exception with the warn message. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira