log and trace fixes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-04-26 17:03:49 +02:00
parent dadc78d4ff
commit e41472234f
16 changed files with 38 additions and 31 deletions

View File

@@ -88,8 +88,9 @@ func Server(cfg *config.Config) *cli.Command {
}
return err
}, func(err error) {
logger.Info().
Str("transport", "http").
logger.Error().
Err(err).
Str("server", "http").
Msg("Shutting down server")
cancel()