From 17c3694fca334c3c0413e9463bc41fabdd52eb8c Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Wed, 26 Jul 2017 16:01:53 +0900 Subject: server/mrt: Fix unfilled logging field Signed-off-by: IWASE Yusuke --- server/mrt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mrt.go b/server/mrt.go index 731c39d6..b640dacc 100644 --- a/server/mrt.go +++ b/server/mrt.go @@ -309,7 +309,7 @@ func (m *mrtManager) enable(c *config.MrtConfig) error { if rInterval < MIN_ROTATION_INTERVAL { log.WithFields(log.Fields{ "Topic": "MRT", - }).Info("minimum mrt rotation interval is %d seconds", MIN_ROTATION_INTERVAL) + }).Infof("minimum mrt rotation interval is %d seconds", MIN_ROTATION_INTERVAL) rInterval = MIN_ROTATION_INTERVAL } } @@ -319,7 +319,7 @@ func (m *mrtManager) enable(c *config.MrtConfig) error { if dInterval < MIN_DUMP_INTERVAL { log.WithFields(log.Fields{ "Topic": "MRT", - }).Info("minimum mrt dump interval is %d seconds", MIN_DUMP_INTERVAL) + }).Infof("minimum mrt dump interval is %d seconds", MIN_DUMP_INTERVAL) dInterval = MIN_DUMP_INTERVAL } } else if dInterval == 0 { -- cgit v1.2.3