[#770] logger: Delete spaces in log message keys
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
2f343a15e5
commit
4a81781c0c
3 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
)
|
||||
|
|
|
@ -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),
|
||||
)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue