-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Introduce new config variable to control whether DAG processor outputs to stdout #37439
Merged
potiuk
merged 10 commits into
apache:main
from
Owen-CH-Leung:create_new_config_dag_processor_manager_log_stdout
Feb 22, 2024
Merged
Introduce new config variable to control whether DAG processor outputs to stdout #37439
potiuk
merged 10 commits into
apache:main
from
Owen-CH-Leung:create_new_config_dag_processor_manager_log_stdout
Feb 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…r outputs logs to stdout
dirrao
reviewed
Feb 15, 2024
…_log_stdout is set to False
jedcunningham
added
type:new-feature
Changelog: New Features
and removed
type:bug-fix
Changelog: Bug Fixes
labels
Feb 19, 2024
eladkal
reviewed
Feb 19, 2024
CAn you resolve conflicts and rebase please? |
Sure & rebased |
potiuk
approved these changes
Feb 22, 2024
sudiptob2
pushed a commit
to Satoshi-Sh/airflow
that referenced
this pull request
Feb 22, 2024
How to select output ONLY to stdout? If I write to both locations I risk getting OOM in container environment and I don't want to persist it perpetually in PVC. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #37122
This PR adds a new config variable under
logging
calleddag_processor_manager_log_stdout
, which is set toFalse
by default. If being set toTrue
, theDagFileProcessorAgent
will also output logs to the stdout ofairflow scheduler
, in addition to writing logs to the designated log file defined bydag_processor_manager_log_location