You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (Jira)" <ji...@apache.org> on 2019/12/18 11:11:01 UTC

[jira] [Updated] (AIRFLOW-6047) Simplify the logging configuration template

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

Ash Berlin-Taylor updated AIRFLOW-6047:
---------------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.6

> 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: 1.10.6
>
>
> 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)