Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39535

Optimize get log method

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • core
    • None

    Description

      Follow-up issue for https://github.com/jenkinsci/jenkins/pull/2607

      > Current implementation of getLog(int maxLines) reads entire log file.
      In this PR I'm addressing this issue. Instead of reading all lines from start, I'm readying only maxLines from end of log.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: