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

We are experiencing the same problems. I tried 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.

Given what I read here and in the other issue, i got the feeling that this 
might be related to the config somehow: in your "standart config" this seems to 
work for you but other people had problems. Do you have any idea which config 
properties might be the culprits here?

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