(minor) unify log keys

This commit is contained in:
Lawrence, Rendall
2024-03-12 15:29:58 +03:00
parent cd5c65e0ef
commit 1a243b94c5
11 changed files with 25 additions and 20 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func NewHooks(configs []conf.NamedMapConfig, storage storage.PeerStorage) (hooks
buildersMU.RLock()
defer buildersMU.RUnlock()
for _, c := range configs {
logger.Debug().Object("hook", c).Msg("starting hook")
logger.Debug().Str("name", c.Name).Object("hook", c).Msg("starting hook")
newHook, ok := builders[c.Name]
if !ok {
err = fmt.Errorf("hook with name '%s' does not exists", c.Name)