You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kamil Bregula (Jira)" <ji...@apache.org> on 2019/11/22 22:37:00 UTC

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

Kamil Bregula created AIRFLOW-6047:
--------------------------------------

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


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)