From d3ad2eac2e8ff078c18bc623340c10743e5d3e63 Mon Sep 17 00:00:00 2001 From: Kristaps Fabians Geikins Date: Mon, 12 Feb 2024 18:25:02 +0200 Subject: [PATCH] fix(server): log redirect reqs as well --- packages/server/logging/expressLogging.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/logging/expressLogging.ts b/packages/server/logging/expressLogging.ts index dc1b43745f..0c3b40fe06 100644 --- a/packages/server/logging/expressLogging.ts +++ b/packages/server/logging/expressLogging.ts @@ -32,7 +32,7 @@ export const LoggingExpressMiddleware = HttpLogger({ } else if (res.statusCode >= 500 || err) { return 'error' } else if (res.statusCode >= 300 && res.statusCode < 400) { - return 'silent' + return 'info' } return 'info' },