functicons commented on code in PR #35716:
URL: https://github.com/apache/airflow/pull/35716#discussion_r1406871805


##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -672,6 +672,7 @@ def invoke_defer_method(self):
         )
 
     def execute_complete(self, context: Context, event: dict, **kwargs):
+        self.log.info("Triggered with event: %s", event)

Review Comment:
   Thanks for raising the question! But I wanted to enable it by default 
because 1) it is a low frequency message, it is printed at most once per task; 
2) when error happens, it is very useful for debugging. I wanted to avoid 
additional steps to enable debug logs and rerun.
   
   Let me know if you still think debug is the right logging level.



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