Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3250

Configure default behavior for "Wrap lines" in log viewers

    XMLWordPrintable

Details

    • HAC Infra OCP - Sprint 226

    Description

      With CONSOLE-2351 Wrap lines was introduced in the log viewers and was disabled by default. For certain workloads and customers, it may be preferred to have Wrap lines enabled by default to properly wrap lines by default.

      Certain application create logs that are only clearly understanable when Wrap lines is enabled. Since it's disabled by default, the consumer always needs to enable it first when viewing logs, which with regards to customer experience is a bad experience. Therefore having a way to set this to enable by default on namespace or Cluster level would help to improve the user experience in this area.

      Per discussion on the RFE, we want to do a bare minimum here and introduce pod's annotation - `console.openshift.io/wrap-log-lines` that would take boolean, based on which the loglines for a certain pod will or will not get wrapped.

      AC:

      • Add check for the for new Pod annotation -  `console.openshift.io/wrap-log-lines`. Its bool value will determine if the the log lines will be wrapped or not.

       

      RFE - https://issues.redhat.com/browse/RFE-2900

      Attachments

        Issue Links

          Activity

            People

              sgoodwin_redhat Steve goodwin
              jhadvig@redhat.com Jakub Hadvig
              Yanping Zhang Yanping Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: