kaxil commented on a change in pull request #9895:
URL: https://github.com/apache/airflow/pull/9895#discussion_r457623177



##########
File path: airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py
##########
@@ -378,7 +379,7 @@ def create_new_pod_for_operator(self, labels, launcher) -> 
Tuple[State, k8s.V1Po
         )
 
         self.pod = pod
-        self.log.info("Starting pod %s", pod)
+        self.log.info("Starting pod:\n%s", yaml.safe_dump(pod.to_dict()))

Review comment:
       I would still increase the log level as DEBUG i.e. you would only want 
the entire pod spec when you are debugging something unless there is a use-case 
which I have not thought off




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to