seth created AIRFLOW-7078:
-----------------------------

             Summary: 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
         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