[#770] logger: Delete spaces in log message keys

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-25 17:24:19 +03:00 committed by Pavel Karpy
parent 2f343a15e5
commit 4a81781c0c
3 changed files with 3 additions and 3 deletions

View file

@ -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),
)

View file

@ -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),
)

View file

@ -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)