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

logger: remove log scope debug message #62

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented Sep 18, 2023

This was added early on to show descriptions of log scopes somewhere. It's pretty useless, and noisy - let's just get rid of it

aside: the scope description parameter in general is pretty useless as well, maybe someone can do the honors of getting rid of that as well :)

@bobheadxi bobheadxi requested review from mrnugget, michaellzc and a team September 18, 2023 16:35
Comment on lines -141 to -142
// createdScopes tracks the scopes that have been created so far.
var createdScopes sync.Map
Copy link
Member Author

Choose a reason for hiding this comment

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

I think once upon a time there was an idea to have a debug endpoint where you can take a scope and look up "what's this scope about"

@bobheadxi bobheadxi merged commit 4a174e4 into main Sep 18, 2023
2 checks passed
@bobheadxi bobheadxi deleted the remove-log-scope-message branch September 18, 2023 16:52
bobheadxi added a commit to sourcegraph/sourcegraph that referenced this pull request Sep 20, 2023
@burmudar burmudar mentioned this pull request Oct 18, 2023
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.

None yet

3 participants