airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1582) Improve logging structure of Airflow
Date Wed, 13 Sep 2017 07:38:02 GMT

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

ASF subversion and git services commented on AIRFLOW-1582:
----------------------------------------------------------

Commit a7a518902dcf1e7fd4bf477cf57cee691f181b29 in incubator-airflow's branch refs/heads/master
from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=a7a5189 ]

[AIRFLOW-1582] Improve logging within Airflow

Clean the way of logging within Airflow. Remove
the old logging.py and
move to the airflow.utils.log.* interface. Remove
setting the logging
outside of the settings/configuration code. Move
away from the string
format to logging_function(msg, *args).

Closes #2592 from Fokko/AIRFLOW-1582-Improve-
logging-structure


> Improve logging structure of Airflow
> ------------------------------------
>
>                 Key: AIRFLOW-1582
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1582
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>             Fix For: 1.9.0
>
>
> Hi,
> I would like to improve the logging within Airflow. Currently the logging is missing
some consistency across the project. I would like to:
> - Remove airflow/utils/logging.py and move everything to /airflow/utils/log/*
> - Initialise local loggers with the name of the class
> - Move the settings of the logging to one central place
> - Remove setting explicit logging levels within the code
> Future PR's
> - Remove verbose boolean settings, which make no sense; if you want more verbose logging
you should set this by increasing the logging verbosity, and this should not be set by a boolean
variable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message