Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split output and logs #506

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Split output and logs #506

merged 2 commits into from
Sep 27, 2024

Conversation

MatthewJohn
Copy link
Collaborator

Issue #505

Create custom log handlers, which use stderr, based on the slog ConsoleHandler

Issue #505

Signed-off-by: Matthew John <[email protected]>
@github-actions github-actions bot added the enhancement Refactor existing code for better performance and quality label Sep 18, 2024
…ght to stdout rather than using logging methods

This avoids stylising output, as is done with logging.
Avoids sending output to same destination as logs, which is now stderr

Issue #505

Signed-off-by: Matthew John <[email protected]>
@MatthewJohn MatthewJohn force-pushed the 505-split-output-and-logs branch from d31abbb to ef79408 Compare September 18, 2024 19:42
Copy link
Collaborator

@yermulnik yermulnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. LGTM. Works for me. Though since it's sort of essential change in existing behavior, I'd summon @warrensbox to have him approve it.

@yermulnik yermulnik linked an issue Sep 18, 2024 that may be closed by this pull request
@warrensbox warrensbox merged commit 97d40c8 into master Sep 27, 2024
5 checks passed
@warrensbox warrensbox deleted the 505-split-output-and-logs branch September 27, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Refactor existing code for better performance and quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tfswitch -U logs instead of returning version
3 participants