[
https://issues.apache.org/jira/browse/AIRFLOW-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624670#comment-16624670
]
ASF GitHub Bot commented on AIRFLOW-3090:
-----------------------------------------
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]
> INFO logs are too verbose
> -------------------------
>
> Key: AIRFLOW-3090
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3090
> Project: Apache Airflow
> Issue Type: Wish
> Reporter: William Pursell
> Assignee: William Pursell
> Priority: Minor
> Fix For: 1.10.1
>
>
> info logging is so verbose that it is very difficult to find info. Many of
> the INFO logs should probably be DEBUG instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)