You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2022/02/09 18:39:43 UTC

[geode] branch support/1.15 updated: GEODE-10022: fix the logging to log the entire stack trace. (#7349)

This is an automated email from the ASF dual-hosted git repository.

jinmeiliao pushed a commit to branch support/1.15
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.15 by this push:
     new 195ba36  GEODE-10022: fix the logging to log the entire stack trace. (#7349)
195ba36 is described below

commit 195ba36c27488534c015ec368d0790715b674e28
Author: Jinmei Liao <ji...@pivotal.io>
AuthorDate: Wed Feb 9 10:10:39 2022 -0800

    GEODE-10022: fix the logging to log the entire stack trace. (#7349)
    
    
    (cherry picked from commit fbe4e662fd679f718ab57e207b063a0902ed44c8)
---
 .../apache/geode/internal/cache/tier/sockets/CacheClientProxy.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java
index 03cbc3b..87ac740 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java
@@ -805,9 +805,7 @@ public class CacheClientProxy implements ClientSession {
         }
       }
     } catch (Exception ex) {
-      if (_cache.getSecurityLogger().warningEnabled()) {
-        _cache.getSecurityLogger().warning(String.format("%s : %s", this, ex));
-      }
+      logger.warn("{}", this, ex);
     }
     // Notify the caller whether to keep this proxy. If the proxy is durable
     // and should be paused, then return true; otherwise return false.