xinbinhuang edited a comment on pull request #15743: URL: https://github.com/apache/airflow/pull/15743#issuecomment-837266936
> I'm not yet convinced this is an actual problem in a task run by airflow -- I haven't been able to reproduce this with a python operator Can you reproduce the example in the original issue? I can confirm that on my end, the output from the subprocess spawned by the python callable can not log into the task logs file but still print out to the terminal. The command that I used to test the output is: ```bash airflow tasks run --local ... ``` Correct me if I'm wrong, I believe this is the command executed by the executor. This only happens when the task is executed on Unix OS because it will try to `fork` the process. -- 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: us...@infra.apache.org