From 2852fca8cd1182bc4066318c9a0f32373530eee1 Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Thu, 26 Mar 2026 18:08:14 -0700 Subject: [PATCH] feat(log): enable info level logs for production --- packages/logger/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts index ab848051222..2e63d302174 100644 --- a/packages/logger/src/index.ts +++ b/packages/logger/src/index.ts @@ -50,7 +50,7 @@ const getLogLevel = (): string | undefined => { /** * Get the minimum log level from environment variable or use defaults * - Development: DEBUG (show all logs) - * - Production: ERROR (only show errors, but can be overridden by LOG_LEVEL env var) + * - Production: INFO (show info, warn, and error logs, but can be overridden by LOG_LEVEL env var) * - Test: ERROR (only show errors in tests) */ const getMinLogLevel = (): LogLevel => { @@ -64,7 +64,7 @@ const getMinLogLevel = (): LogLevel => { case 'development': return LogLevel.DEBUG case 'production': - return LogLevel.ERROR + return LogLevel.INFO case 'test': return LogLevel.ERROR default: