You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/07 15:22:48 UTC
[GitHub] [airflow] xinbinhuang removed a comment on issue #14813: Forked processes aren't logged by tasks using the Python Operator
xinbinhuang removed a comment on issue #14813:
URL: https://github.com/apache/airflow/issues/14813#issuecomment-834511702
> @xinbinhuang By default subprocess inherits stdout/err, so it should get printed:
>
> ```
> airflow ❯ python -c 'import subprocess; print(subprocess.run(["date"]).returncode)'
> Fri 7 May 12:58:47 BST 2021
> 0
> ```
Yup it does get printed to stdout/err but it wouldn't go into the airflow log file not showing up on the task log view in the webserver because the logging into the file is routed by the logger.
--
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:
users@infra.apache.org