You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/09/19 08:18:00 UTC

[jira] [Commented] (AIRFLOW-1604) Rename the logger to log

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