This is an automated email from the ASF dual-hosted git repository.

ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 7456d9a0d [MINOR] Delete redundant Loggers
7456d9a0d is described below

commit 7456d9a0d271098dacf373dd1378146cdb5849f2
Author: jiaoqingbo <[email protected]>
AuthorDate: Thu Oct 19 18:47:45 2023 +0800

    [MINOR] Delete redundant Loggers
    
    ### What changes were proposed in this pull request?
    
    As Title
    
    ### Why are the changes needed?
    
    As Title
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    PASS GA
    
    Closes #2001 from jiaoqingbo/minor.
    
    Authored-by: jiaoqingbo <[email protected]>
    Signed-off-by: mingji <[email protected]>
---
 .../java/org/apache/celeborn/common/util/ShutdownHookManager.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/common/src/main/java/org/apache/celeborn/common/util/ShutdownHookManager.java 
b/common/src/main/java/org/apache/celeborn/common/util/ShutdownHookManager.java
index 3439a6ba1..1ab360ae6 100644
--- 
a/common/src/main/java/org/apache/celeborn/common/util/ShutdownHookManager.java
+++ 
b/common/src/main/java/org/apache/celeborn/common/util/ShutdownHookManager.java
@@ -52,12 +52,10 @@ import org.apache.celeborn.common.CelebornConf;
  */
 public final class ShutdownHookManager {
 
-  private static final Logger logger = 
LoggerFactory.getLogger(ShutdownHookManager.class);
+  private static final Logger LOG = 
LoggerFactory.getLogger(ShutdownHookManager.class);
 
   private static final ShutdownHookManager MGR = new ShutdownHookManager();
 
-  private static final Logger LOG = 
LoggerFactory.getLogger(ShutdownHookManager.class);
-
   /** Minimum shutdown timeout: {@value} millisecond(s). */
   public static final long TIMEOUT_MINIMUM = 1000;
 
@@ -107,7 +105,7 @@ public final class ShutdownHookManager {
     for (HookEntry entry : MGR.getShutdownHooksInOrder()) {
       Future<?> future = EXECUTOR.submit(entry.getHook());
       try {
-        logger.info(
+        LOG.info(
             "timeout {}",
             Utils.msDurationToString(
                 entry.getTimeUnit().convert(entry.getTimeout(), 
TimeUnit.MILLISECONDS)));

Reply via email to