From cbeadc182a9575271ba17dd0cb0c34c7f7a4e318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veljko=20Vrani=C4=87?= Date: Thu, 17 Oct 2024 13:20:01 +0200 Subject: [PATCH] json logging instead of pretty priny --- src/common/logger/index.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/common/logger/index.ts b/src/common/logger/index.ts index 489e9129..c541c22b 100644 --- a/src/common/logger/index.ts +++ b/src/common/logger/index.ts @@ -3,17 +3,6 @@ import pino from "pino"; const destination = pino.destination({ sync: false }); // Create the logger using the asynchronous destination -const logger = pino( - { - transport: { - target: "pino-pretty", - options: { - colorize: true, - destination: 1 - }, - }, - }, - destination -); +const logger = pino({}, destination); export { logger };