From 7475d258ff65528d44d5dedb0811bfce0d524223 Mon Sep 17 00:00:00 2001 From: Matthias Le Brun Date: Thu, 25 Jul 2024 15:19:03 +0200 Subject: [PATCH] Revert "fix(log): change the log level for text instead of number (#836)" (#839) This reverts commit 5a3124fa8229853827f40c3e23bc14336d7937a4. --- server/src/tracing.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/src/tracing.ts b/server/src/tracing.ts index 8f2776502..18b57ccad 100644 --- a/server/src/tracing.ts +++ b/server/src/tracing.ts @@ -32,12 +32,7 @@ if (process.env.TRACING_SERVICE_NAME != null) { registerInstrumentations({ instrumentations: [ - new PinoInstrumentation({ - formatters: { - level: (label: string): object => { - return { level: label }; - } - }), + new PinoInstrumentation(), new HttpInstrumentation({ ignoreIncomingPaths: [/\/health/], }),