In (custom) operators you should be using:

self.log.info(“hello!”)

Bolke

Verstuurd vanaf mijn iPad

> Op 16 okt. 2017 om 19:09 heeft Driesprong, Fokko <[email protected]> het 
> volgende geschreven:
> 
> Hi Boris,
> 
> Can you please elaborate? Where did the output used to end up? Did you
> provide any custom logging config, or are you using the default config?
> Maybe drop some example code.
> 
> Cheers, Fokko
> 
> 2017-10-16 19:02 GMT+02:00 Boris <[email protected]>:
> 
>> Hi guys,
>> 
>> I used to do logging.info("somthing") from airflow python operators so i
>> can see output in airflow logs. Worked fine in 1.8.2.
>> 
>> Looks like this is no longer the case with master branch.I did look at
>> updating.md but still not clear how to log custom messages from python
>> operators.
>> 
>> please advise.
>> 

Reply via email to