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

Remove generic trigger cancelled error log #33874

Merged
merged 1 commit into from Aug 29, 2023

Conversation

pankajkoti
Copy link
Member

@pankajkoti pankajkoti commented Aug 29, 2023

We tried to address #31720 in PR #31757. The issue talked
about adding a trigger cancelled log when trigger times out,
but we also added a generic Trigger canceled log. This log
appears even in successful runs of the triggers when they
finish. This is confusing some users as the log level is Error
and there are sometimes quite a few log lines saying
"Trigger cancelled; message=" with giving no clue as to what is
happening. So, I am removing this generic error log line and
we can later add specific cancel scenarios with detailed
reasons when we implement those.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

We tried to address apache#31720 in PR apache#31757. The issue talked about
adding a trigger cancelled log when trigger timesout, but we also
added a generic Trigger canceled log. This log appears even in
successful runs of the triggers when they finish. This is confusing
some users as the log level is Error and there are sometimes quite
a few log lines saying "Trigger cancelled; err=" with giving no
clue as to what is happening.
So, I am removing this generic error log line and we can add specific
cancel scenarios with detailed reasons when we implement those.
@boring-cyborg boring-cyborg bot added area:Scheduler Scheduler or dag parsing Issues area:Triggerer labels Aug 29, 2023
@pankajkoti
Copy link
Member Author

Noisy (& confusing) logs as reported by an user.

Screenshot 2023-08-29 at 3 18 23 PM

@uranusjr
Copy link
Member

We should first have an open issue to track implementing a replacement log message.

@potiuk
Copy link
Member

potiuk commented Aug 29, 2023

We should first have an open issue to track implementing a replacement log message.

Yep.

@pankajkoti
Copy link
Member Author

We should first have an open issue to track implementing a replacement log message.

yes, thank you. Created an issue #33877

@potiuk potiuk merged commit 39c202f into apache:main Aug 29, 2023
42 checks passed
@ephraimbuddy ephraimbuddy deleted the remove-trigger-cancel-error-log branch October 3, 2023 08:37
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler Scheduler or dag parsing Issues area:Triggerer type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants