Fix log format in HashedWheelTimer (#9507)
Motivation: log message did not correctly use `{}` Modification: replace `%d` by `{}` Result: The log is correct.
This commit is contained in:
parent
05dd1f05d5
commit
c227053c3b
@ -267,8 +267,8 @@ public class HashedWheelTimer implements Timer {
|
||||
|
||||
if (duration < MILLISECOND_NANOS) {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Configured tickDuration %d smaller then %d, using 1ms.",
|
||||
tickDuration, MILLISECOND_NANOS);
|
||||
logger.warn("Configured tickDuration {} smaller then {}, using 1ms.",
|
||||
tickDuration, MILLISECOND_NANOS);
|
||||
}
|
||||
this.tickDuration = MILLISECOND_NANOS;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user