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,7 +267,7 @@ public class HashedWheelTimer implements Timer {
|
|||||||
|
|
||||||
if (duration < MILLISECOND_NANOS) {
|
if (duration < MILLISECOND_NANOS) {
|
||||||
if (logger.isWarnEnabled()) {
|
if (logger.isWarnEnabled()) {
|
||||||
logger.warn("Configured tickDuration %d smaller then %d, using 1ms.",
|
logger.warn("Configured tickDuration {} smaller then {}, using 1ms.",
|
||||||
tickDuration, MILLISECOND_NANOS);
|
tickDuration, MILLISECOND_NANOS);
|
||||||
}
|
}
|
||||||
this.tickDuration = MILLISECOND_NANOS;
|
this.tickDuration = MILLISECOND_NANOS;
|
||||||
|
Loading…
Reference in New Issue
Block a user