Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-8-test df9464bba -> a46f114a5


[AIRFLOW-757] Set child_process_log_directory default more sensible

The default of child_process_log_directory was pointing to
/tmp/airflow/logs/scheduler. This could take people by surprise as
it is a non standard location and deviates from Airflow's other
log folders.


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

Branch: refs/heads/v1-8-test
Commit: a9ab119b4081d66cc53146ea01abe8612a6c5098
Parents: 648bd4e
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Sat Jan 14 13:58:38 2017 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Sat Jan 14 13:58:38 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a9ab119b/airflow/configuration.py
----------------------------------------------------------------------
diff --git a/airflow/configuration.py b/airflow/configuration.py
index 6778464..9b27328 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -349,7 +349,7 @@ dag_dir_list_interval = 300
 # How often should stats be printed to the logs
 print_stats_interval = 30
 
-child_process_log_directory = /tmp/airflow/scheduler/logs
+child_process_log_directory = {AIRFLOW_HOME}/logs/scheduler
 
 # Local task jobs periodically heartbeat to the DB. If the job has
 # not heartbeat in this many seconds, the scheduler will mark the

Reply via email to