Noël BARDELOT created AIRFLOW-6851:
--------------------------------------

             Summary: Logging level: inconsistency between 
doc/implementation/tests
                 Key: AIRFLOW-6851
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6851
             Project: Apache Airflow
          Issue Type: Bug
          Components: logging
    Affects Versions: 1.10.9
            Reporter: Noël BARDELOT


The documentation at 
[https://airflow.apache.org/docs/stable/configurations-ref.html] only states 
that there is a configuration for the logging level for Core (corresponding to 
AIRFLOW__CORE__LOGGING_LEVEL).

 

But in the tests (tests/test_configuration.py) and the default configuration 
file another logging level option exists under Logging :

 
 @conf_vars({
        ('logging', 'logging_level'): None,
        ('core', 'logging_level'): None,
    })
 

And when following the documentation and setting AIRFLOW__CORE__LOGGING_LEVEL 
to WARN there are INFO lines in the logs.

 

Those inconsistencies should be clarified in the doc, and fixed in the code if 
need be.



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

Reply via email to