Skip to content

Comments

Logging to console#1531

Open
droe wants to merge 1 commit intonttgin:devfrom
droe:droe/logging-console
Open

Logging to console#1531
droe wants to merge 1 commit intonttgin:devfrom
droe:droe/logging-console

Conversation

@droe
Copy link

@droe droe commented Feb 5, 2026

Add support for alternative logging configuration console: true for logging to stdout through console.log, instead of logging to files. This is useful in modern deployment scenarios where logs are generally managed outside of the application.

If neither directory nor console are configured, logging is disabled. The default configuration is unchanged, this change is fully backwards-compatible.

You may want to change the way this is configured, or introduce something like pine to replace the custom logging code. All I really need is some way to redirect logs to either stdout or stderr, hence the minimal solution.

Add support for alternative logging configuration `console` for logging
to stdout through console.log, instead of logging to files.  This is
useful in modern deployment scenarios where logs are generally managed
outside of the application.

If neither directory nor console are configured, logging is disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant