From ba24732b94e7f7750000bd3611bc0fd0bd03436f Mon Sep 17 00:00:00 2001 From: Zoey Kaiser Date: Fri, 25 Oct 2024 22:28:30 +0200 Subject: [PATCH] fix: logger to console instance --- src/configs/prisma.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configs/prisma.ts b/src/configs/prisma.ts index 5083653..9b3cca5 100644 --- a/src/configs/prisma.ts +++ b/src/configs/prisma.ts @@ -150,7 +150,7 @@ const server = net.createServer(async (socket) => { }) socket.on('end', () => { - logger.info('Client disconnected') + console.info('Client disconnected') }) }) @@ -159,7 +159,7 @@ server.listen(5432, () => { writeFileSync(HEALTH_FILE_NAME, '') } - logger.info('Server listening on port 5432') + console.info('Server listening on port 5432') }) server.on('close', () => {