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


##########
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:
   Yeah. I thin in this case debug  might be a better level, depending on the 
details printed in the `event` dict - if they are big and long (as I presume) - 
then such a log entry should definitely be debug.
   
   Suggestion maybe Composer team could introduce some ways of changing the log 
level by the customer remotely or dynamically when needed ?  Actually I think 
it could be a good idea to add a flag in the UI to do "rerun with debug" - that 
could be a very nice feature to add to Airflow actually, if Composer tem would 
find it useful, maybe a good idea to contribute such feature?



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to