You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2018/02/08 02:46:02 UTC

[jira] [Created] (SOLR-11957) Increase MaxFileSize for RollingFileAppender in log4j.properties

Shalin Shekhar Mangar created SOLR-11957:
--------------------------------------------

             Summary: Increase MaxFileSize for RollingFileAppender in log4j.properties
                 Key: SOLR-11957
                 URL: https://issues.apache.org/jira/browse/SOLR-11957
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: logging
            Reporter: Shalin Shekhar Mangar
             Fix For: master (8.0), 7.3


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org