Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11957

Increase MaxFileSize for RollingFileAppender in log4j.properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • logging
    • None

    Description

      The current MaxFileSize for RollingFileAppender is set to 4MB. This is too low for most production deployments. Very frequently we handle support cases for people where the logs have long since rolled over and finding out what happened just an hour ago requires digging through old log files (if they even exist because MaxBackupIndex=9).

      I propose the MaxFileSize be set to 64MB and MaxBackupIndex=5 to have max log size bounded to 320MB.

      Attachments

        1. SOLR-11957.patch
          1 kB
          Shalin Shekhar Mangar
        2. SOLR-11957.patch
          1 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: