Skip to content

Conversation

@dstandish
Copy link
Contributor

When task is running, handlers are moved from airflow.task to root. Under normal circumstances this is a non-issue because the reader is instantiated in a webserver but there are certain contrived scenarios such as test dags which instantiate the reader in the context of a running task.


^ 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.

…ndler.

When task is running, handlers are moved from airflow.task to root.  Under normal circumstances this is a non-issue because the reader is instantiated in a webserver but there are certain contrived scenarios such as test dags which instantiate the reader in the context of a running task.
@dstandish dstandish marked this pull request as ready for review April 25, 2023 19:42
@dstandish dstandish merged commit 4a1d5b2 into apache:main Apr 25, 2023
@dstandish dstandish deleted the check-both-loggers-for-handler branch April 25, 2023 19:44
ephraimbuddy pushed a commit that referenced this pull request Apr 25, 2023
…ndler. (#30860)

When task is running, handlers are moved from airflow.task to root.  Under normal circumstances this is a non-issue because the reader is instantiated in a webserver but there are certain contrived scenarios such as test dags which instantiate the reader in the context of a running task.

(cherry picked from commit 4a1d5b2)
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:logging type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants