Skip to content

Commit cbf249c

Browse files
committed
default logger output to stdout
1 parent 31ae8fe commit cbf249c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/dbos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func processConfig(inputConfig *Config) (*Config, error) {
7070

7171
// Load defaults
7272
if dbosConfig.Logger == nil {
73-
dbosConfig.Logger = slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelInfo}))
73+
dbosConfig.Logger = slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}))
7474
}
7575

7676
// Override with environment variables if set

0 commit comments

Comments
 (0)