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

Skip logging context cancelled warning msgs #151

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

nrjpoddar
Copy link

Context cancellations are controlled by clients and logging this message can
cause more more confusion as mentioned here:
cortexproject/cortex#1279

Signed-off-by: Neeraj Poddar [email protected]

@nrjpoddar
Copy link
Author

@bboreham can you review this? I can’t assign the PR to anyone.

@nrjpoddar
Copy link
Author

@tomwilkie and/or @bboreham can anyone of you review/approve this?

@bboreham
Copy link
Collaborator

Thanks for the PR; code looks broadly fine.

I think it would be slightly better if the message still went out at debug level, rather than being dropped entirely. WDYT @tomwilkie ?

@nrjpoddar
Copy link
Author

Thanks @bboreham, I will wait for @tomwilkie feedback and update the PR if needed.

@nrjpoddar
Copy link
Author

@tomwilkie do you have any preference regarding skipping Context Cancelled logs or logging them at debug level?

@nrjpoddar
Copy link
Author

@bboreham I haven't heard back from @tomwilkie so I'm going to go with your suggestion and update this to emit debug logs.

Context cancellations are controlled by clients and logging this message can
cause more more confusion as mentioned here:
cortexproject/cortex#1279

Signed-off-by: Neeraj Poddar <[email protected]>
@nrjpoddar nrjpoddar force-pushed the skipContextCancelledLog branch from 4869f24 to 2c39cd4 Compare April 1, 2019 21:04
@nrjpoddar
Copy link
Author

nrjpoddar commented Apr 3, 2019

@bboreham can you merge this PR? Thanks!

Copy link
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks!

@bboreham bboreham merged commit c07ae0c into weaveworks:master Apr 3, 2019
yeya24 pushed a commit to yeya24/common that referenced this pull request Jun 12, 2024
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