From 50b20477fd374771a1fe150be74565d4e135a13d Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Thu, 4 Oct 2012 17:32:01 +0000 Subject: [PATCH] HADOOP-8881. FileBasedKeyStoresFactory initialization logging should be debug not info. (tucu) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1394165 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ .../apache/hadoop/security/ssl/FileBasedKeyStoresFactory.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index dee2d9dba0f..ea49e6fe571 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -315,6 +315,8 @@ Release 2.0.3-alpha - Unreleased HADOOP-8756. Fix SEGV when libsnappy is in java.library.path but not LD_LIBRARY_PATH. (Colin Patrick McCabe via eli) + HADOOP-8881. FileBasedKeyStoresFactory initialization logging should be debug not info. (tucu) + Release 2.0.2-alpha - 2012-09-07 INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/FileBasedKeyStoresFactory.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/FileBasedKeyStoresFactory.java index 4c17f9fd25d..9560caf7ed2 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/FileBasedKeyStoresFactory.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/FileBasedKeyStoresFactory.java @@ -160,7 +160,7 @@ public class FileBasedKeyStoresFactory implements KeyStoresFactory { } finally { is.close(); } - LOG.info(mode.toString() + " Loaded KeyStore: " + keystoreLocation); + LOG.debug(mode.toString() + " Loaded KeyStore: " + keystoreLocation); } else { keystore.load(null, null); } @@ -201,7 +201,7 @@ public class FileBasedKeyStoresFactory implements KeyStoresFactory { truststorePassword, truststoreReloadInterval); trustManager.init(); - LOG.info(mode.toString() + " Loaded TrustStore: " + truststoreLocation); + LOG.debug(mode.toString() + " Loaded TrustStore: " + truststoreLocation); trustManagers = new TrustManager[]{trustManager}; }