From dev-return-55063-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Tue Dec 1 15:59:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 59389180648 for ; Tue, 1 Dec 2020 16:59:02 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 8E6CC4796A for ; Tue, 1 Dec 2020 15:59:01 +0000 (UTC) Received: (qmail 84541 invoked by uid 500); 1 Dec 2020 15:59:01 -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 84494 invoked by uid 99); 1 Dec 2020 15:59:01 -0000 Received: from mailrelay1-he-de.apache.org (HELO mailrelay1-he-de.apache.org) (116.203.21.61) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2020 15:59:01 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-he-de.apache.org (ASF Mail Server at mailrelay1-he-de.apache.org) with ESMTPS id 5C4B03E92C for ; Tue, 1 Dec 2020 15:59:00 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 416FFC803EE for ; Tue, 1 Dec 2020 15:59:00 +0000 (UTC) Date: Tue, 1 Dec 2020 15:59:00 +0000 (UTC) From: "Julian Reschke (Jira)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (JCR-4609) Improve logging in case of exception in JcrUtils.getRepository() 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-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164321#comment-17164321 ] Julian Reschke edited comment on JCR-4609 at 12/1/20, 3:58 PM: --------------------------------------------------------------- trunk: (2.21.3) [r1879583|http://svn.apache.org/r1879583] 2.20: (2.20.2) [r1880253|http://svn.apache.org/r1880253] 2.16: [r1883998|http://svn.apache.org/r1883998] was (Author: reschke): trunk: (2.21.3) [r1879583|http://svn.apache.org/r1879583] 2.20: [r1880253|http://svn.apache.org/r1880253] > Improve logging in case of exception in JcrUtils.getRepository() > ---------------------------------------------------------------- > > Key: JCR-4609 > URL: https://issues.apache.org/jira/browse/JCR-4609 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-jcr-commons > Affects Versions: 2.21.2 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > Labels: candidate_jcr_2_14 > Fix For: 2.22, 2.16.7, 2.20.2, 2.21.3 > > Attachments: JCR-4609-v1.patch > > > Neither full stack traces nor suppressed exceptions are logged in https://github.com/apache/jackrabbit/blob/0f0807d25283b8786d800dcc41821443f43c2f82/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java#L206 which makes it hard to debug issues. > Instead of manually constructing error messages one should rely on {{Throwable.printStacktrace()}} -- This message was sent by Atlassian Jira (v8.3.4#803005)