summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-07-26 16:01:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-10-03 23:04:20 +0900
commit17c3694fca334c3c0413e9463bc41fabdd52eb8c (patch)
treeacbbdcfb1a625e8a19431fcd8a36a57da3a5fd43
parentbfc6d1b2f9d2bf2add5f4242993be115b752c465 (diff)
server/mrt: Fix unfilled logging field
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-rw-r--r--server/mrt.go4
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 {