Skip to content

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented May 11, 2020

https://jira.mongodb.org/browse/VSCODE-90

Currently we're outputting all (*) logs with the debug module.

This PR updates our logging namespaces to just INFO, ERROR, and WARN. This will silence the DEBUG logs which contain the heartbeats and some of the other connection messages.

I'm looking into best practices for extension logging now, this update should at least put us in a better spot in terms of reporting messages with less credentials in them.

@Anemy Anemy changed the title Update logger to use info and error, not wildcard for logs VSCODE-90: Remove heartbeats from logger May 11, 2020
@Anemy Anemy requested a review from alenakhineika May 11, 2020 16:42
Copy link
Member

@mmarcon mmarcon left a comment

Choose a reason for hiding this comment

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

Looks good to me. Tested and there are no heartbeats as expected.

@Anemy Anemy merged commit 6072717 into master May 11, 2020
@Anemy Anemy deleted the VSCODE-90/remove-heartbeats-from-logger branch May 11, 2020 19:36
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