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

Allow for customizing JENKINS_HOME/logs/custom size

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • support-core-plugin
    • None

      Currently the support core plugin records custom loggers to the file system, however it would be nice to allow users to customize the size (via JVM argument). https://github.com/jenkinsci/support-core-plugin/blob/5edc573e45457dd79b8e07594bc24f5921606ef2/src/main/java/com/cloudbees/jenkins/support/impl/JenkinsLogs.java#L70 would need to be fixed to use FileListCapComponent.MAX_FILE_SIZE

          [JENKINS-30816] Allow for customizing JENKINS_HOME/logs/custom size

          Jesse Glick added a comment -

          As per this code the logs are limited to 10k lines apiece. Is there a particular reason to customize it?

          Jesse Glick added a comment - As per this code the logs are limited to 10k lines apiece. Is there a particular reason to customize it?

          When you are logging with RBAC / Security 10k is not very much and it would be more helpful to have larger log files.

          Walter Kacynski added a comment - When you are logging with RBAC / Security 10k is not very much and it would be more helpful to have larger log files.

            schristou Steven Christou
            schristou Steven Christou
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: