SOLR-11957: Increase MaxFileSize=32MB and MaxBackupIndex=10 for RollingFileAppender in log4j.properties

This commit is contained in:
Shalin Shekhar Mangar 2018-03-05 15:45:05 +05:30
parent 27eb6ba062
commit fc8c239f93
3 changed files with 9 additions and 4 deletions

View File

@ -81,6 +81,8 @@ Upgrade Notes
* SOLR-12011: Replicas which are not up-to-date are not allowed to become leader. Use FORCELEADER API to
allow these replicas become leader.
* SOLR-11957: The default Solr log file size and number of backups is raised to 32MB and 10 respectively
New Features
----------------------
* SOLR-11285: Simulation framework for autoscaling. (ab)
@ -347,6 +349,9 @@ Other Changes
* SOLR-12031: Refactor Policy framework to make simulated changes affect more than a single node (noble)
* SOLR-11957: Increase MaxFileSize=32MB and MaxBackupIndex=10 for RollingFileAppender in log4j.properties
(Varun Thacker, shalin)
================== 7.2.1 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -9,8 +9,8 @@ log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x [%X{collect
#- size rotation with log cleanup.
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.MaxFileSize=4MB
log4j.appender.file.MaxBackupIndex=9
log4j.appender.file.MaxFileSize=32MB
log4j.appender.file.MaxBackupIndex=10
#- File to log to and log format
log4j.appender.file.File=${solr.log}/solr.log

View File

@ -10,8 +10,8 @@ log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p
#- size rotation with log cleanup.
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.MaxFileSize=4MB
log4j.appender.file.MaxBackupIndex=9
log4j.appender.file.MaxFileSize=32MB
log4j.appender.file.MaxBackupIndex=10
#- File to log to and log format
log4j.appender.file.File=${solr.log}/solr.log