You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "seth (Jira)" <ji...@apache.org> on 2020/03/17 15:44:00 UTC

[jira] [Created] (AIRFLOW-7078) logger / print gets overwritten with custom Operator after version upgrade

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)