Skip to content

Commit

Permalink
Fix LogMessage formatting placeholders in MqttHeaderMapper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
wilx authored Feb 7, 2024
1 parent 91ce70d commit 6e1c615
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private static boolean shouldMapHeader(String headerName, String[] patterns) {
if (patterns != null && patterns.length > 0) {
for (String pattern : patterns) {
if (PatternMatchUtils.simpleMatch(pattern, headerName)) {
LOGGER.debug(LogMessage.format("headerName=[{0}] WILL be mapped, matched pattern={1}",
LOGGER.debug(LogMessage.format("headerName=[%s] WILL be mapped, matched pattern=%s",
headerName, pattern));
return true;
}
Expand Down

0 comments on commit 6e1c615

Please sign in to comment.