kaxil closed pull request #3921: [AIRFLOW-3090] Specify path of key file in log
message
URL: https://github.com/apache/incubator-airflow/pull/3921
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/airflow/contrib/hooks/gcp_api_base_hook.py
b/airflow/contrib/hooks/gcp_api_base_hook.py
index aa1cf3f713..72d8e483a7 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)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services