[ 
https://issues.apache.org/jira/browse/AIRFLOW-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391718#comment-16391718
 ] 

ASF subversion and git services commented on AIRFLOW-2197:
----------------------------------------------------------

Commit 4af71fd58e5958ab7f3a5b8620f711037c194e71 in incubator-airflow's branch 
refs/heads/master from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4af71fd ]

[AIRFLOW-2197] Silence hostname_callable config error message

Since the hostname_callable key is not defined in the config, we end
up with a lot of warnings. Add the key to the config and simplify the
code.


> Silence the hostname_callable error
> -----------------------------------
>
>                 Key: AIRFLOW-2197
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2197
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Fokko Driesprong
>            Priority: Major
>
> Since the core/hostname callable is not defined by default, we end up with a 
> lot of warnings in the log:
> [2018-03-07 12:08:43,982] {configuration.py:211} WARNING - section/key 
> [core/hostname_callable] not found in config
> INSIDE REFRESH dag_id: test_utils
> INSIDE REFRESH task_id: sleeps_forever
> INSIDE REFRESH exec_date: 2015-01-01 00:00:00+00:00
> [2018-03-07 12:08:44,158] {configuration.py:211} WARNING - section/key 
> [core/hostname_callable] not found in config
> INSIDE REFRESH dag_id: test_utils
> INSIDE REFRESH task_id: sleeps_forever
> INSIDE REFRESH exec_date: 2015-01-01 00:00:00+00:00
> [2018-03-07 12:08:44,999] {configuration.py:211} WARNING - section/key 
> [core/hostname_callable] not found in config
> INSIDE REFRESH dag_id: test_utils
> INSIDE REFRESH task_id: sleeps_forever
> INSIDE REFRESH exec_date: 2015-01-01 00:00:00+00:00
> [2018-03-07 12:08:46,050] {configuration.py:211} WARNING - section/key 
> [core/hostname_callable] not found in config
> INSIDE REFRESH dag_id: test_utils
> INSIDE REFRESH task_id: sleeps_forever
> INSIDE REFRESH exec_date: 2015-01-01 00:00:00+00:00
> [2018-03-07 12:08:47,027] {configuration.py:211} WARNING - section/key 
> [core/hostname_callable] not found in config



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to