You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2017/09/08 13:45:00 UTC

[jira] [Commented] (AIRFLOW-1582) Improve logging structure of Airflow

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

Ash Berlin-Taylor commented on AIRFLOW-1582:
--------------------------------------------

Another future PR: remove the duplicate log decoration (i.e. time stamp) when logging is used from within a task, i.e. this sort of line

{noformat}
[2017-09-07 00:00:16,305] {base_task_runner.py:95} INFO - Subtask: [2017-09-07 00:00:16,304] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
{noformat}

> 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
>
> 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)