amoghrajesh commented on code in PR #28911:
URL: https://github.com/apache/airflow/pull/28911#discussion_r1069328888
##########
airflow/providers/http/hooks/http.py:
##########
@@ -147,7 +147,11 @@ def run(
req = requests.Request(self.method, url, data=data,
headers=headers, **request_kwargs)
prepped_request = session.prepare_request(req)
- self.log.info("Sending '%s' to url: %s", self.method, url)
+
+ log_request = request_kwargs.pop('log_request', True)
+ if log_request:
+ self.log.info("Sending '%s' to url: %s", self.method, url)
Review Comment:
Makes sense to have that log in debug logs. Made that change only. It is a
simpler change in terms of not introducing an unwanted parameter
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]