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

Add logging to the migration commands #43516

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

ephraimbuddy
Copy link
Contributor

This PR enhances logging for the migration commands and ensures that
alembic doesn't change the logger when logging.

A PR was raised to address the issue of reset db command changing logging level;
see f166467, but that did not address
it for other commands. This PR addresses it for all the migration commands

This PR enhances logging for the migration commands and ensures that
alembic doesn't change the logger when logging.

A PR was raised to address the issue of reset db command changing logging level;
see f166467, but that did not address
it for other commands. This PR addresses it for all the migration commands
@ephraimbuddy ephraimbuddy requested a review from potiuk as a code owner October 30, 2024 15:52
airflow/utils/db.py Outdated Show resolved Hide resolved
airflow/utils/db_manager.py Outdated Show resolved Hide resolved
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@ephraimbuddy ephraimbuddy merged commit 22d2aeb into apache:main Oct 31, 2024
57 checks passed
@ephraimbuddy ephraimbuddy deleted the add-logging-for-migration-cmds branch October 31, 2024 13:44
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* Add logging to the migration commands

This PR enhances logging for the migration commands and ensures that
alembic doesn't change the logger when logging.

A PR was raised to address the issue of reset db command changing logging level;
see f166467, but that did not address
it for other commands. This PR addresses it for all the migration commands

* fixup! Add logging to the migration commands

* Apply suggestions from code review

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>

---------

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
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.

4 participants