kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: KAFKA-2026: fix logging of unsued options always showing null; reviewed by Ewen Cheslack-Postava and Jiangjie Qin
Date Thu, 30 Jul 2015 21:28:51 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk be82a2afc -> 23a36eb54


KAFKA-2026: fix logging of unsued options always showing null; reviewed by Ewen Cheslack-Postava
and Jiangjie Qin


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

Branch: refs/heads/trunk
Commit: 23a36eb54958485d1e84c64cc739ca268e96b181
Parents: be82a2a
Author: Manikumar Reddy <manikumar.reddy@gmail.com>
Authored: Thu Jul 30 14:29:21 2015 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Thu Jul 30 14:29:21 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/kafka/common/config/AbstractConfig.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/23a36eb5/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java b/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java
index bae528d..ec3ae15 100644
--- a/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java
+++ b/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java
@@ -122,7 +122,7 @@ public class AbstractConfig {
      */
     public void logUnused() {
         for (String key : unused())
-            log.warn("The configuration {} = {} was supplied but isn't a known config.",
key, this.values.get(key));
+            log.warn("The configuration {} = {} was supplied but isn't a known config.",
key, this.originals.get(key));
     }
 
     /**


Mime
View raw message