From 4a81781c0c2c64d72be357b7f1fa8cab202855a1 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Wed, 25 Aug 2021 17:24:19 +0300 Subject: [PATCH] [#770] logger: Delete spaces in log message keys Signed-off-by: Pavel Karpy --- cmd/neofs-ir/main.go | 2 +- cmd/neofs-node/main.go | 2 +- pkg/services/audit/taskmanager/listen.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/neofs-ir/main.go b/cmd/neofs-ir/main.go index 07134bce2..0f144d2e6 100644 --- a/cmd/neofs-ir/main.go +++ b/cmd/neofs-ir/main.go @@ -98,7 +98,7 @@ func main() { exitErr(err) log.Info("application started", - zap.String("build time", misc.Build), + zap.String("build_time", misc.Build), zap.String("version", misc.Version), zap.String("debug", misc.Debug), ) diff --git a/cmd/neofs-node/main.go b/cmd/neofs-node/main.go index 2a44288ee..983fd3d68 100644 --- a/cmd/neofs-node/main.go +++ b/cmd/neofs-node/main.go @@ -97,7 +97,7 @@ func bootUp(c *cfg) { func wait(c *cfg) { c.log.Info("application started", - zap.String("build time", misc.Build), + zap.String("build_time", misc.Build), zap.String("version", misc.Version), zap.String("debug", misc.Debug), ) diff --git a/pkg/services/audit/taskmanager/listen.go b/pkg/services/audit/taskmanager/listen.go index fc992360d..480d501ad 100644 --- a/pkg/services/audit/taskmanager/listen.go +++ b/pkg/services/audit/taskmanager/listen.go @@ -13,7 +13,7 @@ import ( // The listener is terminated by context. func (m *Manager) Listen(ctx context.Context) { m.log.Info("process routine", - zap.Uint32("queue capacity", m.queueCap), + zap.Uint32("queue_capacity", m.queueCap), ) m.ch = make(chan *audit.Task, m.queueCap)