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:
szh 2019-08-26 14:54:45 +08:00 committed by Norman Maurer
parent da2aba5742
commit 1a22c126be

View File

@ -271,7 +271,7 @@ public class HashedWheelTimer implements Timer {
if (duration < MILLISECOND_NANOS) {
if (logger.isWarnEnabled()) {
logger.warn("Configured tickDuration %d smaller then %d, using 1ms.",
logger.warn("Configured tickDuration {} smaller then {}, using 1ms.",
tickDuration, MILLISECOND_NANOS);
}
this.tickDuration = MILLISECOND_NANOS;