shivaam commented on code in PR #64661:
URL: https://github.com/apache/airflow/pull/64661#discussion_r3038350694


##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/ec2.py:
##########
@@ -104,7 +105,9 @@ def stop_instances(self, instance_ids: list) -> dict:
         """
         self.log.info("Stopping instances: %s", instance_ids)
 
-        return self.conn.stop_instances(InstanceIds=instance_ids)
+        result = self.conn.stop_instances(InstanceIds=instance_ids)
+        self.log.debug("stop_instances response: %s", 
result.get("StoppingInstances"))

Review Comment:
   That is a good point. I think I agree that dag level debug logging will be a 
really cool feature. I started a discussion in the slack channel 
#[#sig-improving-debugging](https://apache-airflow.slack.com/archives/C07J87PK1BK)
 to check where this AIP is headed and what other work is pending. I dont see 
much activity on the AIP in the past couple of months anyway. 



-- 
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]

Reply via email to