The current log viewer displays an unbounded amount of text in a single browser page. (This is certainly true if you ask to show the "full log". But even in the default mode, in which the head is truncated, a running build may then proceed to produce vastly more output. And if you actually need to see the top of the build, you need to switch to full mode anyway.)

      Unfortunately many browsers do not perform well when confronted with many megabytes of text in a single page, and may even crash. Switching to the raw console does not necessarily improve performance, and you also lose hyperlinks and notes and so on.

      It would be better to either display the log in a paginated mode, so that you would click arrows to move to a "previous" or "next" block; or logically display the whole log, but intercept scroll gestures to load a new section and discard the old one.

      Unclear what the "page" size should be. You want it small enough to be effectively displayable on all common browsers; but large enough that there is not excessive network traffic and so that native scroll buffers are effective. Might need be tuned on a browser-by-browser basis, or made extensible by plugins.

          [JENKINS-17406] More scalable log viewer control

          Jesse Glick added a comment -

          The raw console link should probably also be made to force a download rather than displaying inline in the browser.

          Jesse Glick added a comment - The raw console link should probably also be made to force a download rather than displaying inline in the browser.

          Daniel Beck added a comment -

          recena Are you working on this?

          Daniel Beck added a comment - recena Are you working on this?

          danielbeck No I'm not, my mistake. I don't know why but, I started to work here.

          Manuel Recena Soto added a comment - danielbeck No I'm not, my mistake. I don't know why but, I started to work here .

          Jesse Glick added a comment -

          Probably due to be superseded by Blue Ocean (though that does not currently offer a better or even comparably powerful log viewer).

          Jesse Glick added a comment - Probably due to be superseded by Blue Ocean (though that does not currently offer a better or even comparably powerful log viewer).

          Jesse Glick added a comment -

          Linking to some issues which might be superseded by this if implemented.

          Jesse Glick added a comment - Linking to some issues which might be superseded by this if implemented.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: