Skip to content

Fix: Redirect auto-sample logging to stderr#272

Merged
aomarks merged 1 commit into
google:mainfrom
rockymeza:fix/stderr-logging
Jul 3, 2025
Merged

Fix: Redirect auto-sample logging to stderr#272
aomarks merged 1 commit into
google:mainfrom
rockymeza:fix/stderr-logging

Conversation

@rockymeza
Copy link
Copy Markdown
Contributor

The auto-sample logging output in runner.ts was previously directed to stdout. This change redirects the logging output to stderr.

We are capturing stdout in order to change the formatting a little bit, but we would still like to see the auto-sampling output.

I don't know how to test this out though.

The auto-sample logging output in runner.ts was previously directed to stdout. This change redirects the logging output to stderr.
Copy link
Copy Markdown
Member

@aomarks aomarks left a comment

Choose a reason for hiding this comment

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

Makes sense to me; it will allow distinguishing the result output from the status output more easily.

@aomarks aomarks merged commit ddd0cc2 into google:main Jul 3, 2025
6 of 9 checks passed
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.

2 participants