Selaa lähdekoodia

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
Alejandro Abdelnur 12 vuotta sitten
vanhempi
commit
50b20477fd

+ 2 - 0
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
     HADOOP-8756. Fix SEGV when libsnappy is in java.library.path but
     not LD_LIBRARY_PATH. (Colin Patrick McCabe via eli)
     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 
 Release 2.0.2-alpha - 2012-09-07 
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 2 - 2
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 {
       } finally {
         is.close();
         is.close();
       }
       }
-      LOG.info(mode.toString() + " Loaded KeyStore: " + keystoreLocation);
+      LOG.debug(mode.toString() + " Loaded KeyStore: " + keystoreLocation);
     } else {
     } else {
       keystore.load(null, null);
       keystore.load(null, null);
     }
     }
@@ -201,7 +201,7 @@ public class FileBasedKeyStoresFactory implements KeyStoresFactory {
                                                  truststorePassword,
                                                  truststorePassword,
                                                  truststoreReloadInterval);
                                                  truststoreReloadInterval);
     trustManager.init();
     trustManager.init();
-    LOG.info(mode.toString() + " Loaded TrustStore: " + truststoreLocation);
+    LOG.debug(mode.toString() + " Loaded TrustStore: " + truststoreLocation);
 
 
     trustManagers = new TrustManager[]{trustManager};
     trustManagers = new TrustManager[]{trustManager};
   }
   }