diff options
-rw-r--r-- | server/mrt.go | 4 |
1 files 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 { |