Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/logger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand All @@ -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:
Expand Down
Loading