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-1604) Rename the logger to log
Date Tue, 19 Sep 2017 08:18:00 GMT

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

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

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

[AIRFLOW-1604] Rename logger to log

In all the popular languages the variable name log
is the de facto
standard for the logging. Rename LoggingMixin.py
to logging_mixin.py
to comply with the Python standard.

When using the .logger a deprecation warning will
be emitted.

Closes #2604 from Fokko/AIRFLOW-1604-logger-to-log


> Rename the logger to log
> ------------------------
>
>                 Key: AIRFLOW-1604
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1604
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>             Fix For: 1.9.0
>
>
> In most languages the variable name `log` is the de facto standard for the logger. Therefore
we want to rename the logger to log in our LoggingMixin class.



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

Mime
View raw message