logging.root.level=30
logging.root.level=20
[2024-09-23T22:36:21.856-0700] {db.py:1702} INFO - Dropping tables that exist
[2024-09-23T22:36:22.463-0700] {migration.py:215} INFO - Context impl SQLiteImpl.
[2024-09-23T22:36:22.463-0700] {migration.py:218} INFO - Will assume non-transactional DDL.
[2024-09-23T22:36:22.464-0700] {migration.py:215} INFO - Context impl SQLiteImpl.
[2024-09-23T22:36:22.464-0700] {migration.py:218} INFO - Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running stamp_revision -> 22ed7efa9da2
WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted.
logging.root.level=30
Operating System
Darwin COMPNAME 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:39 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6000 arm64
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.8.0
What happened?
Running
airflow.utils.db.resetdb()
(e.g. in test suite) setslogging.root.level = Logging.WARNING
It appears to apply the logging config at
airflow/alembic.ini
What you think should happen instead?
resetdb()
as a framework util function for clearing db state, should not modify application root logger configHow to reproduce
Outputs:
Operating System
Darwin COMPNAME 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:39 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6000 arm64
Versions of Apache Airflow Providers
bare/vanilla Airflow install, see repro
Deployment
Virtualenv installation
Deployment details
repro does not use deployment
Anything else?
No response
Are you willing to submit PR?
Code of Conduct