diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-07-26 16:01:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-10-03 23:04:20 +0900 |
commit | 17c3694fca334c3c0413e9463bc41fabdd52eb8c (patch) | |
tree | acbbdcfb1a625e8a19431fcd8a36a57da3a5fd43 /server/mrt.go | |
parent | bfc6d1b2f9d2bf2add5f4242993be115b752c465 (diff) |
server/mrt: Fix unfilled logging field
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/mrt.go')
-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 { |