diff --git a/packages/backend-core/src/logging/pino/logger.ts b/packages/backend-core/src/logging/pino/logger.ts index 7439755030..7d0c5f8daf 100644 --- a/packages/backend-core/src/logging/pino/logger.ts +++ b/packages/backend-core/src/logging/pino/logger.ts @@ -35,9 +35,9 @@ if (!env.DISABLE_PINO_LOGGER) { const destinations: pino.DestinationStream[] = [] - if (env.isDev()) { - destinations.push(pinoPretty({ singleLine: true })) - } + destinations.push( + env.isDev() ? pinoPretty({ singleLine: true }) : process.stdout + ) if (env.SELF_HOSTED) { destinations.push(localFileDestination())