Disabling headers #202
-
What would you like to be added: Something like the kubectl Why is this needed: I use stern in CI/CD and I don't want it to output the list of all pods when it begins, when combined with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
headers are output to stderr. Therefore, you can avoid outputting them by doing the following:
If you do not want to include pod info in the log line, you can use the
If you still have any issue, please feel free to reopen this issue. |
Beta Was this translation helpful? Give feedback.
-
We've released stern v1.23.0. It allows you to print only log lines with
You should try it. |
Beta Was this translation helpful? Give feedback.
We've released stern v1.23.0. It allows you to print only log lines with
--only-log-line
flag.You should try it.