From commits-return-8679-archive-asf-public=cust-asf.ponee.io@hudi.apache.org Thu Jan 2 03:20:50 2020 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 9B138180630 for ; Thu, 2 Jan 2020 04:20:50 +0100 (CET) Received: (qmail 12171 invoked by uid 500); 2 Jan 2020 03:20:49 -0000 Mailing-List: contact commits-help@hudi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hudi.apache.org Delivered-To: mailing list commits@hudi.apache.org Received: (qmail 12141 invoked by uid 99); 2 Jan 2020 03:20:49 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2020 03:20:49 +0000 From: GitBox To: commits@hudi.apache.org Subject: [GitHub] [incubator-hudi] yanghua commented on a change in pull request #1161: [HUDI-457]Redo hudi-common log statements using SLF4J Message-ID: <157793524939.9484.9375448229704567403.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Thu, 02 Jan 2020 03:20:49 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit yanghua commented on a change in pull request #1161: [HUDI-457]Redo hudi-common log statements using SLF4J URL: https://github.com/apache/incubator-hudi/pull/1161#discussion_r362357743 ########## File path: hudi-common/src/main/java/org/apache/hudi/common/model/HoodiePartitionMetadata.java ########## @@ -111,7 +111,7 @@ public void trySave(int taskPartitionId) { fs.delete(tmpMetaPath, false); } } catch (IOException ioe) { - LOG.warn("Error trying to clean up temporary files for " + partitionPath, ioe); + LOG.warn(String.format("Error trying to clean up temporary files for %s", partitionPath), ioe); Review comment: ditto ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services