Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C481211DCD for ; Fri, 2 May 2014 22:00:29 +0000 (UTC) Received: (qmail 67150 invoked by uid 500); 2 May 2014 22:00:24 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 67048 invoked by uid 500); 2 May 2014 22:00:21 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 66984 invoked by uid 99); 2 May 2014 22:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 22:00:18 +0000 Date: Fri, 2 May 2014 22:00:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CURATOR-90) Reduce the verbosity of connection error log messages 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/CURATOR-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988316#comment-13988316 ] ASF GitHub Bot commented on CURATOR-90: --------------------------------------- GitHub user eceejcr opened a pull request: https://github.com/apache/curator/pull/6 CURATOR-90 Making Connection erros less verbose. Only first error is logged with error level; subsequent errors are logged as debug You can merge this pull request into a Git repository by running: $ git pull https://github.com/eceejcr/curator CURATOR-90 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/curator/pull/6.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6 ---- commit ab3ff72d309378f3c6e166e47e75b7ba49835f20 Author: eceejcr Date: 2014-05-02T21:53:40Z Making Connection erros less verbose. Only first error is logged with error level; subsequent errors are logged as debug ---- > Reduce the verbosity of connection error log messages > ----------------------------------------------------- > > Key: CURATOR-90 > URL: https://issues.apache.org/jira/browse/CURATOR-90 > Project: Apache Curator > Issue Type: Improvement > Components: Framework > Affects Versions: 2.4.0 > Reporter: Julio Lopez > Priority: Minor > Attachments: CURATOR-90.patch, curator-90-evaristo.patch > > > On connection error, such as a network disconnection from the ZK cluster, CuratorFrameworkImpl does excessive logging. While a system property, namely PROPERTY_DONT_LOG_CONNECTION_ISSUES = "curator-dont-log-connection-problems", can be set to avoid filling out the logs with connection error messages, this is an all or nothing setting. > It is desirable to allow for less verbose logging that can be more easily controlled and filtered using the logging framework of choice. -- This message was sent by Atlassian JIRA (v6.2#6252)