airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamil Bregula (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-6047) Simplify the logging configuration template
Date Wed, 27 Nov 2019 14:30:01 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kamil Bregula resolved AIRFLOW-6047.
------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> Simplify the logging configuration template
> -------------------------------------------
>
>                 Key: AIRFLOW-6047
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6047
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 1.10.6
>            Reporter: Kamil Bregula
>            Priority: Major
>             Fix For: 2.0.0
>
>
> There are several problems in this file:
>  * The configuration - REMOTE_HANDLERS is stored in a dictionary. In the next step the
item are got based on the key. There is no reason why this cannot be done using variables. This
will increase the complexity of the file
>  * Variables are always created as global if a smaller scope can be used
>  



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

Mime
View raw message