kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damian...@apache.org
Subject kafka git commit: MINOR: change log level in ThreadCache to trace
Date Thu, 10 Aug 2017 10:43:03 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.11.0 a75027429 -> 58125ced7


MINOR: change log level in ThreadCache to trace

cache eviction logging at debug level is too high volume. This was already done on trunk but
didn't make it into 0.11

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #3652 from dguy/minor-cache-log-level


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/58125ced
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/58125ced
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/58125ced

Branch: refs/heads/0.11.0
Commit: 58125ced768fea76d278f70828fa9a23cbefdd82
Parents: a750274
Author: Damian Guy <damian.guy@gmail.com>
Authored: Thu Aug 10 11:42:56 2017 +0100
Committer: Damian Guy <damian.guy@gmail.com>
Committed: Thu Aug 10 11:42:56 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/kafka/streams/state/internals/ThreadCache.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/58125ced/streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java
----------------------------------------------------------------------
diff --git a/streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java
b/streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java
index 42708d9..954b11b 100644
--- a/streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java
+++ b/streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java
@@ -249,7 +249,7 @@ public class ThreadCache {
             numEvicted++;
         }
 
-        log.debug("{} Evicted {} entries from cache {}", logPrefix, numEvicted, namespace);
+        log.trace("{} Evicted {} entries from cache {}", logPrefix, numEvicted, namespace);
     }
 
     private synchronized NamedCache getCache(final String namespace) {


Mime
View raw message