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

Activate debug logging in commands with --verbose option #27447

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

ephraimbuddy
Copy link
Contributor

While one can achieve the same fit by exporting AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG it's more friendly to use --verbose flag to activate debug logging and on exit, the logging is set to its previous value before the command run.

@ephraimbuddy ephraimbuddy requested review from ashb, mik-laj and dstandish and removed request for ashb and mik-laj November 1, 2022 17:34
airflow/utils/cli.py Outdated Show resolved Hide resolved
While one can achieve the same fit by exporting `AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG`
it's more friendly to use `--verbose` flag to activate debug logging and on exit, the
logging is set to it's previous value before the command run.
@ephraimbuddy ephraimbuddy merged commit 9c6d2ab into apache:main Nov 2, 2022
@ephraimbuddy ephraimbuddy deleted the add-debug-level-cli branch November 2, 2022 03:43
@ephraimbuddy ephraimbuddy added type:new-feature Changelog: New Features type:improvement Changelog: Improvements and removed type:new-feature Changelog: New Features labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:CLI type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants