potiuk commented on code in PR #37873:
URL: https://github.com/apache/airflow/pull/37873#discussion_r1513777596
##########
airflow/providers/amazon/aws/hooks/glue.py:
##########
@@ -245,8 +245,9 @@ def display_logs_from(log_group: str, continuation_token:
str | None) -> str | N
if e.response["Error"]["Code"] == "ResourceNotFoundException":
# we land here when the log groups/streams don't exist yet
self.log.warning(
- "No new Glue driver logs so far.\nIf this persists,
check the CloudWatch dashboard "
- f"at:
https://{self.conn_region_name}.console.aws.amazon.com/cloudwatch/home"
+ "No new Glue driver logs so far.\n"
+ "If this persists, check the CloudWatch dashboard at:
%r.",
+
f"https://{self.conn_region_name}.console.aws.amazon.com/cloudwatch/home",
Review Comment:
Info/debug of course not (because of penalty you pay to process the f-string
when your logging is disabled for that level, but warnings you generally show
always.
--
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]