[ 
https://issues.apache.org/jira/browse/AIRFLOW-7078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063023#comment-17063023
 ] 

Oleg Korsak commented on AIRFLOW-7078:
--------------------------------------

yes. I see that my custom dag (in imported functions) logging stopped working 
in 1.10.9. Downgrading to 1.10.7 works fine again

> logger / print gets overwritten with custom Operator after version upgrade
> --------------------------------------------------------------------------
>
>                 Key: AIRFLOW-7078
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-7078
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 1.10.9
>            Reporter: seth
>            Priority: Major
>         Attachments: airflow_post.PNG, airflow_pre.PNG
>
>
> Hi, I have customized `AWSAthenaOperator` to both log the executed query, and 
> log the query_id.
> I am using a simple print statement, which should be logged as INFO by the 
> logger
> After upgrade to airflow==1.10.9 these logs are not persisted anymore, and in 
> fact seems to be overwritten.
> I'm attaching 2 screenshots, 1 of the log output while the task is still 
> running. As you can see, the expected output is present in the logs.
> The 2nd, the log is taken after the task has completed successfully .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to