From issues-return-1291-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Sep 10 06:03:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CD29E180651 for ; Tue, 10 Sep 2019 08:03:02 +0200 (CEST) Received: (qmail 47230 invoked by uid 500); 10 Sep 2019 06:03:02 -0000 Mailing-List: contact issues-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list issues@zookeeper.apache.org Received: (qmail 47213 invoked by uid 99); 10 Sep 2019 06:03:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2019 06:03:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 89100E30E8 for ; Tue, 10 Sep 2019 06:03:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 48DF07822AE for ; Tue, 10 Sep 2019 06:03:00 +0000 (UTC) Date: Tue, 10 Sep 2019 06:03:00 +0000 (UTC) From: "hu xiaodong (Jira)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-3541) Wrong placeholder '{}' in logs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-3541?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] hu xiaodong updated ZOOKEEPER-3541: ----------------------------------- Description:=20 In the method 'org.apache.zookeeper.client.ZooKeeperSaslClient#respondToSer= ver',=C2=A0 {code:java} =C2=A0LOG.error("SASL authentication failed using login context '" + this.getLoginContext() + "' with exception: {}", e);=C2=A0{code} // I think '{}' above is wrong.=C2=A0It's redundant. =C2=A0 !image-2019-09-10-14-02-30-306.png! was: In the method 'org.apache.zookeeper.client.ZooKeeperSaslClient#respondToSer= ver',=C2=A0 {code:java} =C2=A0LOG.error("SASL authentication failed using login context '" + this.getLoginContext() + "' with exception: {}", e);=C2=A0{code} // I think '{}' above is wrong. > Wrong placeholder '{}' in logs. > ------------------------------- > > Key: ZOOKEEPER-3541 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3541 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.5.5 > Reporter: hu xiaodong > Priority: Minor > Labels: pull-request-available > Attachments: image-2019-09-10-14-02-30-306.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > In the method 'org.apache.zookeeper.client.ZooKeeperSaslClient#respondToS= erver',=C2=A0 > {code:java} > =C2=A0LOG.error("SASL authentication failed using login context '" > + this.getLoginContext() > + "' with exception: {}", e);=C2=A0{code} > // I think '{}' above is wrong.=C2=A0It's redundant. > =C2=A0 > !image-2019-09-10-14-02-30-306.png! -- This message was sent by Atlassian Jira (v8.3.2#803003)