Skip to content

Conversation

@jscheffl
Copy link
Contributor

Another small increment to remove global statements for PR #58116

This removes global statement from logging_config.py where some state was stored via global variables, smelled a bit like a public interfaces which it should not. Wrapping into a private class with a static field instead of global.

global is evil.

@jscheffl jscheffl force-pushed the bugfix/remove-global-from-logging-config branch from 3d4cb22 to 9758588 Compare December 23, 2025 16:44
@jscheffl jscheffl merged commit cd0cb08 into apache:main Dec 24, 2025
240 of 241 checks passed
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Dec 25, 2025
* Remove global from logging_config

* Ups, fix file missed to commit

* Fix some leftover imports
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Jan 2, 2026
* Remove global from logging_config

* Ups, fix file missed to commit

* Fix some leftover imports
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
* Remove global from logging_config

* Ups, fix file missed to commit

* Fix some leftover imports
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