diff --git a/cmd/loki/main.go b/cmd/loki/main.go index da010c9b34f4..beb665fc5dff 100644 --- a/cmd/loki/main.go +++ b/cmd/loki/main.go @@ -48,6 +48,9 @@ func main() { } } + // Re-init the logger which will now honor a different log level set in cfg.Server + util.InitLogger(&cfg.Server) + // Setting the environment variable JAEGER_AGENT_HOST enables tracing trace := tracing.NewFromEnv(fmt.Sprintf("loki-%s", cfg.Target)) defer func() {