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-1605) Fix log source of local loggers
Date Wed, 13 Sep 2017 11:27:00 GMT


ASF subversion and git services commented on AIRFLOW-1605:

Commit 028b3b88ff4f191c78bf1d9c41bf43a792f640ff in incubator-airflow's branch refs/heads/master
from [~ashb]
[;h=028b3b8 ]

[AIRFLOW-1606][Airflow-1606][AIRFLOW-1605][AIRFLOW-160] DAG.sync_to_db is now a normal method

Previously it was a static method that took as
it's first argument a
DAG, which really meant it wasn't truly a static

To avoid reversing the parameter order I have
given sensible defaults
from the one and only use in the rest of the code

Also remove documented "sync_to_db" parameter on
DagBag that no longer
exists -- this doc string refers to a parameter
that was removed in

Closes #2605 from ashb/AIRFLOW-1606-db-sync_to_db-

> Fix log source of local loggers
> -------------------------------
>                 Key: AIRFLOW-1605
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Fokko Driesprong
> As mentioned by ashb:
> Sometimes we need to initialise a new logger because there is no logger in scope. Currently
this new logger will have airflow.utils.log.LoggingMixin.LoggingMixin as source. This needs
to be fixed by passing a reference to the logger class.

This message was sent by Atlassian JIRA

View raw message