You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2019/01/05 10:56:34 UTC

[kafka] branch trunk updated: MINOR: Show the specified value in logging the deprecation warnings of internal converter (#5212)

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

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b6d1450  MINOR: Show the specified value in logging the deprecation warnings of internal converter (#5212)
b6d1450 is described below

commit b6d1450012734a841fdf85400636593092cf7e2b
Author: Chia-Ping Tsai <ch...@gmail.com>
AuthorDate: Sat Jan 5 18:56:15 2019 +0800

    MINOR: Show the specified value in logging the deprecation warnings of internal converter (#5212)
    
    Reviewers: Jason Gustafson <ja...@confluent.io>
---
 .../src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
index be3a709..ff4f43f 100644
--- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
+++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
@@ -321,7 +321,7 @@ public class WorkerConfig extends AbstractConfig {
         if (defaultValue != null && defaultValue.equalsIgnoreCase(propValue)) {
             log.info(
                 "Worker configuration property '{}'{} is deprecated and may be removed in an upcoming release. "
-                    + "The specified value matches the default, so this property can be safely removed from the worker configuration.",
+                    + "The specified value '{}' matches the default, so this property can be safely removed from the worker configuration.",
                 propName,
                 prefixNotice,
                 propValue