Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D93A18DC0 for ; Mon, 11 Jan 2016 18:23:40 +0000 (UTC) Received: (qmail 23516 invoked by uid 500); 11 Jan 2016 18:23:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 23465 invoked by uid 500); 11 Jan 2016 18:23:40 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 23375 invoked by uid 99); 11 Jan 2016 18:23:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 18:23:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E46F22C1F5D for ; Mon, 11 Jan 2016 18:23:39 +0000 (UTC) Date: Mon, 11 Jan 2016 18:23:39 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12674) BootstrapStandby - Inconsistent Logging 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/HADOOP-12674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaobing Zhou updated HADOOP-12674: ----------------------------------- Status: Patch Available (was: Open) > BootstrapStandby - Inconsistent Logging > --------------------------------------- > > Key: HADOOP-12674 > URL: https://issues.apache.org/jira/browse/HADOOP-12674 > Project: Hadoop Common > Issue Type: Improvement > Components: ha > Affects Versions: 2.7.1 > Reporter: BELUGA BEHR > Assignee: Xiaobing Zhou > Priority: Minor > Attachments: HADOOP-12674.001.patch > > > {code} > /* Line 379 */ > if (LOG.isDebugEnabled()) { > LOG.debug(msg, e); > } else { > LOG.fatal(msg); > } > {code} > Why would message, considered "fatal" under most operating circumstances be considered "debug" when debugging is on. This is confusing to say the least. If there is a problem and the user attempts to debug the situation, they may be filtering on "fatal" messages and miss the exception. > Please consider using only the fatal logging, and including the exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)