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

Avoid writing D8 info and error messages directly to the Bazel console #17648

Closed

Conversation

Bencodes
Copy link
Contributor

@Bencodes Bencodes commented Mar 2, 2023

This pull request provides a custom DiagnosticsHandler implementation that redirects info and warning messages to the original System#err stream so that the noisy D8 messages are written to the worker log file instead of directly to the console.

In addition this PR also removes the custom system stream redirection, and instead uses the baked in WorkerIO implementation that automatically wraps the system stream for us that was added here #14201.

#17647

@sgowroji sgowroji added team-Android Issues for Android team awaiting-review PR is awaiting review from an assigned reviewer labels Mar 2, 2023
@Bencodes Bencodes force-pushed the reduce-console-noise-from-d8 branch from 7b36574 to 5f7ce78 Compare March 2, 2023 15:26
@Bencodes Bencodes changed the title Avoid writing dexing info and error messages directly to the Bazel co… Avoid writing D8 info and error messages directly to the Bazel console Mar 2, 2023
@ahumesky ahumesky added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Aug 17, 2023
@Pavank1992
Copy link
Contributor

Hi @Bencodes, Could you please resolve the conflicts at this branch?

@Pavank1992 Pavank1992 added the awaiting-user-response Awaiting a response from the author label Aug 18, 2023
@Bencodes Bencodes force-pushed the reduce-console-noise-from-d8 branch from b882fe3 to 38616d9 Compare August 18, 2023 20:37
@Bencodes
Copy link
Contributor Author

@Pavank1992 this PR has been rebased and is ready to merge.

@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-response Awaiting a response from the author team-Android Issues for Android team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants