airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1912] airflow.processor should not propagate logging
Date Tue, 12 Dec 2017 22:05:54 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 815270bb5 -> 1d7fac6e0


[AIRFLOW-1912] airflow.processor should not propagate logging

The root logger will write to stdout. If
redirection is used
which is the case for processors and task runs
(not runners)
this can end up in an endless loop in case
propagation is True.

Closes #2871 from bolkedebruin/AIRFLOW-1912


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

Branch: refs/heads/master
Commit: 1d7fac6e049c19ddd0866aca3fad712fce94b4dc
Parents: 815270b
Author: Bolke de Bruin <bolke@xs4all.nl>
Authored: Tue Dec 12 23:05:47 2017 +0100
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Tue Dec 12 23:05:47 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/1d7fac6e/airflow/config_templates/airflow_local_settings.py
----------------------------------------------------------------------
diff --git a/airflow/config_templates/airflow_local_settings.py b/airflow/config_templates/airflow_local_settings.py
index aa5b8da..e5f4198 100644
--- a/airflow/config_templates/airflow_local_settings.py
+++ b/airflow/config_templates/airflow_local_settings.py
@@ -90,7 +90,7 @@ DEFAULT_LOGGING_CONFIG = {
         'airflow.processor': {
             'handlers': ['file.processor'],
             'level': LOG_LEVEL,
-            'propagate': True,
+            'propagate': False,
         },
         'airflow.task': {
             'handlers': ['file.task'],


Mime
View raw message