client logs use module.

This commit is contained in:
Miroslav Šedivý 2021-09-12 17:00:29 +02:00
parent 4f7bd48bec
commit d21cb9f336

View File

@ -95,8 +95,8 @@ func (h *MessageHandlerCtx) systemLogs(session types.Session, payload *message.S
// do not use handler logger context // do not use handler logger context
log.WithLevel(level). log.WithLevel(level).
Fields(msg.Fields). Fields(msg.Fields).
Str("module", "client").
Str("session_id", session.ID()). Str("session_id", session.ID()).
Str("service", "frontend").
Msg(msg.Message) Msg(msg.Message)
} }