From 241c528166f4c745f060be147f060a8b00a347a4 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Thu, 4 Oct 2012 17:40:54 +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/branches/branch-2@1394166 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 e709971d3ba..3157cb77dca 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -58,6 +58,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}; }