Skip to content

fix: use slog instead of log to specify stdout/stderr for different l…#110

Open
qafy wants to merge 1 commit into
d-Rickyy-b:masterfrom
qafy:fix/switch-stderr-on-loglevel
Open

fix: use slog instead of log to specify stdout/stderr for different l…#110
qafy wants to merge 1 commit into
d-Rickyy-b:masterfrom
qafy:fix/switch-stderr-on-loglevel

Conversation

@qafy

@qafy qafy commented Jun 29, 2026

Copy link
Copy Markdown

We had some problems in our setup related to #73. Our global logging instance uses the systemd journal as a source and we also host the ct server within a container and with the current server version all logging messages generate an error in our setup. I changed the logging setup to use slog instead of log as suggested in the issue and added log levels. Now only Error and warning messages get relayed to stderr everything else is written to stdout.

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