[ 
https://issues.apache.org/jira/browse/AIRFLOW-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041141#comment-17041141
 ] 

Kamil Bregula commented on AIRFLOW-6851:
----------------------------------------

We only keep current information in the documentation.  Information about the 
feature being deprecated is available in UPDATIND.MD. We also display 
deprecation warning:
{code:java}
/opt/airflow/airflow/config_templates/airflow_local_settings.py:31: 
DeprecationWarning: The logging_level option in [core] has been moved to the 
logging_level option in [logging] - the old setting has been used, but please 
update your config.{code}
More information:

[https://github.com/apache/airflow/blob/master/UPDATING.md#logging-configuration-has-been-moved-to-new-section]

 

 

> 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
>            Priority: Minor
>
> 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