geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bogle...@apache.org
Subject incubator-geode git commit: GEODE-1225: Converted SSL log message from info to fine
Date Wed, 13 Apr 2016 21:35:00 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 7d5f39aee -> bbf705edc


GEODE-1225: Converted SSL log message from info to fine


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/bbf705ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/bbf705ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/bbf705ed

Branch: refs/heads/develop
Commit: bbf705edc7cef804d3b84c1b40551630ae67a5fb
Parents: 7d5f39a
Author: Barry Oglesby <boglesby@pivotal.io>
Authored: Wed Apr 13 14:10:18 2016 -0700
Committer: Barry Oglesby <boglesby@pivotal.io>
Committed: Wed Apr 13 14:10:18 2016 -0700

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/internal/SocketCreator.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/bbf705ed/geode-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java b/geode-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java
index 2130a26..acdfbc7 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java
@@ -1055,7 +1055,9 @@ public class SocketCreator {
             sslSocket.startHandshake();
             SSLSession session = sslSocket.getSession();
             Certificate[] peer = session.getPeerCertificates();
-            logger.info(LocalizedMessage.create(LocalizedStrings.SocketCreator_SSL_CONNECTION_FROM_PEER_0,
((X509Certificate)peer[0]).getSubjectDN()));
+            if (logger.isDebugEnabled()) {
+              logger.debug(LocalizedMessage.create(LocalizedStrings.SocketCreator_SSL_CONNECTION_FROM_PEER_0,
((X509Certificate)peer[0]).getSubjectDN()));
+            }
           }
           catch (SSLPeerUnverifiedException ex) {
             if (this.needClientAuth) {
@@ -1119,7 +1121,9 @@ public class SocketCreator {
         sslSocket.startHandshake();
         SSLSession session = sslSocket.getSession();
         Certificate[] peer = session.getPeerCertificates();
-        logger.info(LocalizedMessage.create(LocalizedStrings.SocketCreator_SSL_CONNECTION_FROM_PEER_0,
((X509Certificate)peer[0]).getSubjectDN()));
+        if (logger.isDebugEnabled()) {
+          logger.debug(LocalizedMessage.create(LocalizedStrings.SocketCreator_SSL_CONNECTION_FROM_PEER_0,
((X509Certificate)peer[0]).getSubjectDN()));
+        }
       }
       catch (SSLPeerUnverifiedException ex) {
         if (this.needClientAuth) {


Mime
View raw message