Skip to content

Commit

Permalink
KAFKA-17841 Use placeholders instead of string concatenation in logs (#…
Browse files Browse the repository at this point in the history
…17557)

Reviewers: Chia-Ping Tsai <[email protected]>
  • Loading branch information
yx9o authored Oct 20, 2024
1 parent 76a9df4 commit 25e8e4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ private Map<String, ConfigProvider> instantiateConfigProviders(
provider.configure(configProperties);
configProviderInstances.put(entry.getKey(), provider);
} catch (ClassNotFoundException e) {
log.error("Could not load config provider class " + entry.getValue(), e);
log.error("Could not load config provider class {}", entry.getValue(), e);
throw new ConfigException(providerClassProperty(entry.getKey()), entry.getValue(), "Could not load config provider class or one of its dependencies");
}
}
Expand Down

0 comments on commit 25e8e4c

Please sign in to comment.