Skip to content

Commit 25e8e4c

Browse files
authored
KAFKA-17841 Use placeholders instead of string concatenation in logs (apache#17557)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 76a9df4 commit 25e8e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ private Map<String, ConfigProvider> instantiateConfigProviders(
620620
provider.configure(configProperties);
621621
configProviderInstances.put(entry.getKey(), provider);
622622
} catch (ClassNotFoundException e) {
623-
log.error("Could not load config provider class " + entry.getValue(), e);
623+
log.error("Could not load config provider class {}", entry.getValue(), e);
624624
throw new ConfigException(providerClassProperty(entry.getKey()), entry.getValue(), "Could not load config provider class or one of its dependencies");
625625
}
626626
}

0 commit comments

Comments
 (0)