GitHub user PowerToThePeople111 edited a comment on the discussion: logging in 
Operator not work

We are experiencing the same problems. I tried to several ways to log 
information in a virtualenv-operator: by using print-statements, logging.info, 
and the special logger ( logging.getLogger("airflow.task") ). None of them 
worked for us. 

We are using airflow in a kubernetes setup. ( very similar to this issue 
https://github.com/apache/airflow/issues/34865 )

Is the fix provided by SamJia (adding the red-marked lined to the 
`refresh_from_task` function ) expected to work with the latest version? I had 
a look into the code and it seemed like the function has been changed.

GitHub link: 
https://github.com/apache/airflow/discussions/21021#discussioncomment-11168157

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to