Skip to content

Logging the loaded secrets backends in worker#49205

Merged
kaxil merged 2 commits into
apache:mainfrom
amoghrajesh:logging-for-backends-loaded
Apr 14, 2025
Merged

Logging the loaded secrets backends in worker#49205
kaxil merged 2 commits into
apache:mainfrom
amoghrajesh:logging-for-backends-loaded

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

Instead of guessing this and looking for answers by running airflow CLI commands in case of failure, its better to have it in logs. I added an info log as it is once per worker, might as well be an info. Could be a little higher for LocalExecutor, but i guess thats fine

Secrets backends loaded for worker [supervisor] backend_classes=['EnvironmentVariablesBackend'] count=1
2025-04-14 07:01:26.43840

^ 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 airflow-core/newsfragments.

@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@ashb @kaxil a simple QOL improvement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants