From d5be91855b81a12218813aa9bfb86d245cefde5f Mon Sep 17 00:00:00 2001 From: William Pursell Date: Wed, 19 Sep 2018 11:41:51 -0700 Subject: [PATCH] [AIRFLOW-3090] Specify path of key file in log message --- airflow/contrib/hooks/gcp_api_base_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/contrib/hooks/gcp_api_base_hook.py b/airflow/contrib/hooks/gcp_api_base_hook.py index aa1cf3f7136c1..72d8e483a74df 100644 --- a/airflow/contrib/hooks/gcp_api_base_hook.py +++ b/airflow/contrib/hooks/gcp_api_base_hook.py @@ -87,7 +87,7 @@ def _get_credentials(self): elif key_path: # Get credentials from a JSON file. if key_path.endswith('.json'): - self.log.info('Getting connection using a JSON key file.') + self.log.debug('Getting connection using JSON key file %s' % key_path) credentials = ( google.oauth2.service_account.Credentials.from_service_account_file( key_path, scopes=scopes)