Repository: incubator-airflow
Updated Branches:
  refs/heads/master 2f009164d -> 846e2746c


[AIRFLOW-2752] Log using logging instead of stdout

Logging should be done using the Python log module
instead of writing directly to stdout

Closes #3604 from Fokko/patch-2


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/846e2746
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/846e2746
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/846e2746

Branch: refs/heads/master
Commit: 846e2746c0be3d9e55edd3351ae9f43228ea48a5
Parents: 2f00916
Author: Fokko Driesprong <[email protected]>
Authored: Sun Jul 15 17:56:18 2018 +0200
Committer: Bolke de Bruin <[email protected]>
Committed: Sun Jul 15 17:56:18 2018 +0200

----------------------------------------------------------------------
 airflow/executors/base_executor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/846e2746/airflow/executors/base_executor.py
----------------------------------------------------------------------
diff --git a/airflow/executors/base_executor.py 
b/airflow/executors/base_executor.py
index 04c9088..701ac66 100644
--- a/airflow/executors/base_executor.py
+++ b/airflow/executors/base_executor.py
@@ -150,7 +150,7 @@ class BaseExecutor(LoggingMixin):
         self.sync()
 
     def change_state(self, key, state):
-        print("popping: {}".format(key))
+        self.log.debug("Changing state: {}".format(key))
         self.running.pop(key)
         self.event_buffer[key] = state
 

Reply via email to