ashb commented on a change in pull request #7740: [AIRFLOW-7065] Add optional
propagation of task std streams to console
URL: https://github.com/apache/airflow/pull/7740#discussion_r393607991
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -141,8 +140,8 @@ def _run_file_processor(result_channel,
try:
# redirect stdout/stderr to log
- with redirect_stdout(StreamLogWriter(log, logging.INFO)),\
- redirect_stderr(StreamLogWriter(log, logging.WARN)):
+ with StdoutToLog(log, logging.INFO), \
+ StderrToLog(log, logging.WARN):
Review comment:
Is there any need to make this change? What does this achieve?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services