airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-1604) Rename the logger to log
Date Tue, 19 Sep 2017 08:18:00 GMT


ASF subversion and git services commented on AIRFLOW-1604:

Commit eb2f589099b87743482c2eb16261b49e284dcd96 in incubator-airflow's branch refs/heads/master
from [~Fokko]
[;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
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:
>             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

View raw message