Repository: geode
Updated Branches:
  refs/heads/develop 55c945080 -> 469737b07


GEODE-3006: reduce the frequency of ping request and reduce the loglevel of 
login/logout messages


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

Branch: refs/heads/develop
Commit: 469737b074b8f53374aa64be009fa0031150478e
Parents: 55c9450
Author: Jinmei Liao <jil...@pivotal.io>
Authored: Tue May 30 11:13:36 2017 -0700
Committer: Jinmei Liao <jil...@pivotal.io>
Committed: Thu Jun 1 07:55:09 2017 -0700

----------------------------------------------------------------------
 .../geode/internal/security/IntegratedSecurityService.java       | 4 ++--
 .../internal/web/shell/AbstractHttpOperationInvoker.java         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/469737b0/geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
 
b/geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
index 600d546..f9fade1 100644
--- 
a/geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
+++ 
b/geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
@@ -135,7 +135,7 @@ public class IntegratedSecurityService implements 
SecurityService {
     Subject currentUser = SecurityUtils.getSubject();
     GeodeAuthenticationToken token = new GeodeAuthenticationToken(credentials);
     try {
-      logger.info("Logging in " + token.getPrincipal());
+      logger.debug("Logging in " + token.getPrincipal());
       currentUser.login(token);
     } catch (ShiroException e) {
       logger.info(e.getMessage(), e);
@@ -153,7 +153,7 @@ public class IntegratedSecurityService implements 
SecurityService {
     }
 
     try {
-      logger.info("Logging out " + currentUser.getPrincipal());
+      logger.debug("Logging out " + currentUser.getPrincipal());
       currentUser.logout();
     } catch (ShiroException e) {
       logger.info(e.getMessage(), e);

http://git-wip-us.apache.org/repos/asf/geode/blob/469737b0/geode-core/src/main/java/org/apache/geode/management/internal/web/shell/AbstractHttpOperationInvoker.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/main/java/org/apache/geode/management/internal/web/shell/AbstractHttpOperationInvoker.java
 
b/geode-core/src/main/java/org/apache/geode/management/internal/web/shell/AbstractHttpOperationInvoker.java
index b342c66..63eb977 100644
--- 
a/geode-core/src/main/java/org/apache/geode/management/internal/web/shell/AbstractHttpOperationInvoker.java
+++ 
b/geode-core/src/main/java/org/apache/geode/management/internal/web/shell/AbstractHttpOperationInvoker.java
@@ -85,7 +85,7 @@ import javax.management.QueryExp;
 public abstract class AbstractHttpOperationInvoker implements 
HttpOperationInvoker {
 
   protected static final long DEFAULT_INITIAL_DELAY = 
TimeUnit.SECONDS.toMillis(1);
-  protected static final long DEFAULT_PERIOD = 
TimeUnit.MILLISECONDS.toMillis(500);
+  protected static final long DEFAULT_PERIOD = 
TimeUnit.MILLISECONDS.toMillis(2000);
 
   protected static final String MBEAN_ATTRIBUTE_LINK_RELATION = 
"mbean-attribute";
   protected static final String MBEAN_OPERATION_LINK_RELATION = 
"mbean-operation";

Reply via email to