From 90aad39a11855bee3f0b2dddbaa2aff5a4cf74a9 Mon Sep 17 00:00:00 2001 From: Lukas Zapletal Date: Thu, 11 Apr 2024 08:58:58 +0200 Subject: [PATCH] chore: lower severity on missing identity --- internal/routes/all_routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/routes/all_routes.go b/internal/routes/all_routes.go index 4ed253a0..19ecaadd 100644 --- a/internal/routes/all_routes.go +++ b/internal/routes/all_routes.go @@ -47,7 +47,7 @@ func MountRoot(r *chi.Mux) { func IdentityErrorLogFunc(ctx context.Context, rawId, msg string) { logger := zerolog.Ctx(ctx) - logger.Error().Str("identity", rawId).Msgf("identity enforcement error: %s", msg) + logger.Warn().Str("identity", rawId).Msgf("identity enforcement error: %s", msg) } func MountAPI(r *chi.Mux) {