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

feat(output): redirect trace output to stderr #1084

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thevilledev
Copy link
Contributor

@thevilledev thevilledev commented Mar 6, 2025

Allow trace output with any output format by writing trace to stderr while maintaining formatted output on stdout. This enables using --trace with table, JSON, etc. formats.

BREAKING CHANGE: Trace output is now written to stderr instead of stdout. Scripts capturing trace output from stdout will need to be updated to capture from stderr instead.

Fixes #1031

NOTE: Draft until further tests done - feedback welcome

Allow trace output with any output format by writing trace to stderr while
maintaining formatted output on stdout. This enables using --trace with
table, JSON, etc. formats.

BREAKING CHANGE: Trace output is now written to stderr instead of stdout.
Scripts capturing trace output from stdout will need to be updated to
capture from stderr instead.

Signed-off-by: Ville Vesilehto <[email protected]>
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.

Trace is not outputted when --output=table
1 participant