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

Do not log debug output on info level #1536

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Jul 29, 2021

This causes any client to log all output messages twice, one in the official output for example in the editor and the second time in the logs, which can just grow the logs without purpose.

We should still be able to print it under debug flag.

Connected to scalameta/metals#2311

Tested it locally and it works correctly. There is no need for logging all output since everything goes through DAP anyway.

This causes any client to log all output messages twice, one in the official output for example in the editor and the second time in the logs, which can just grow the logs without purpose.

We should still be able to print it under debug flag.
@tgodzik tgodzik requested review from adpi2 and ckipp01 July 29, 2021 15:02
Copy link
Member

@ckipp01 ckipp01 left a comment

Choose a reason for hiding this comment

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

Ooo nice, I was expected this to be more work than this 😆 . This will be great. LGTM!

@tgodzik tgodzik merged commit ed4fd6c into scalacenter:master Jul 29, 2021
@tgodzik tgodzik deleted the logging-output branch October 1, 2021 10:37
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.

3 participants