You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Noël BARDELOT (Jira)" <ji...@apache.org> on 2020/03/12 16:49:00 UTC
[jira] [Commented] (AIRFLOW-6851) Logging level: inconsistency
between doc/implementation/tests
[ https://issues.apache.org/jira/browse/AIRFLOW-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058086#comment-17058086 ]
Noël BARDELOT commented on AIRFLOW-6851:
----------------------------------------
OK, this is not an issue then, and can be closed :)
> 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
> Attachments: Screenshot 2020-02-20 at 18.03.45.png
>
>
> 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)