pankajastro commented on code in PR #38247:
URL: https://github.com/apache/airflow/pull/38247#discussion_r1540946280


##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -781,8 +781,9 @@ def write_logs(self, pod: k8s.V1Pod):
                 follow=False,
             )
             for raw_line in logs:
-                line = raw_line.decode("utf-8", 
errors="backslashreplace").rstrip("\n")
-                self.log.info("Container logs: %s", line)
+                line = raw_line.decode("utf-8", 
errors="backslashreplace").strip()

Review Comment:
   sometimes this log like
   ```
   Container logs: 
   ```
   but since I'm checking `if line` I should be able to revert this change and 
that way at least it will not log empty("") str wdyt? 



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