lens icon indicating copy to clipboard operation
lens copied to clipboard

Add some enhancements to the pod log?

Open zqr95518 opened this issue 2 years ago • 3 comments

What would you like to be added: Such as manual refresh, auto swap, line num limit, refresh rate etc.

Why is this needed: In order to better view the pod log.

Environment you are Lens application on:

  • Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...]
  • Desktop OS: <the OS Lens app runs on in your case> win10 21H2

zqr95518 avatar Nov 29 '21 03:11 zqr95518

Would you be able to fill out your request some more? What is "auto swap"? What do you mean by "manual refresh", we currently load new logs when you scroll to the bottom of the logs window...

Nokel81 avatar Nov 29 '21 14:11 Nokel81

Oops its a typo. Add an option of soft wrap. I can use a button to refresh instead of waiting for it to refresh itself. Sometimes it may take several seconds, although I only need one line of log

zqr95518 avatar Nov 30 '21 02:11 zqr95518

I 2nd the need for an option to enable word-wrap on the pod log. Horizontal scrolling to read long lines is SUPER SLOW. Having a soft word-wrap would solve this issue.

589290 avatar Jul 27 '22 16:07 589290

There is an open PR that implements line-wrapping #6217

k8ieone avatar Jun 20 '23 09:06 k8ieone