Skip to content

Commit

Permalink
fix: logger to console instance
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser committed Oct 25, 2024
1 parent 6496019 commit ba24732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/prisma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const server = net.createServer(async (socket) => {
})
socket.on('end', () => {
logger.info('Client disconnected')
console.info('Client disconnected')
})
})
Expand All @@ -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', () => {
Expand Down

0 comments on commit ba24732

Please sign in to comment.