Skip to content

Change error log of Tried to cancel a non-existing activity to debug #1529

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

Closed

Conversation

schani
Copy link

@schani schani commented Sep 21, 2024

What was changed

This changes the severity of the logging of Tried to cancel a non-existing activity from error to debug.

Why?

This is not an error condition, so it shouldn't be logged like one. We have an alert on error logs and this one comes up every now and again and is a distraction.

See Slack discussion: https://temporalio.slack.com/archives/C01DKSMU94L/p1726925750497729?thread_ts=1678096035.562979&cid=C01DKSMU94L

Checklist

  1. How was this tested:

It wasn't. I don't know how to reproduce the conditions that lead to this log.

  1. Any docs updates needed?

I don't think so.

@schani schani requested a review from a team as a code owner September 21, 2024 13:47
@CLAassistant
Copy link

CLAassistant commented Sep 21, 2024

CLA assistant check
All committers have signed the CLA.

@mjameswh
Copy link
Contributor

Thanks, but I decided to make that TRACE level rather than DEBUG, to be coherent with other similar messages in that file. I changed that already in #1530.

@mjameswh mjameswh closed this Sep 24, 2024
@schani schani deleted the debug-log-cancel-non-existing-activity branch September 24, 2024 23:56
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