2014-12-11 19:21:27 -05:00
|
|
|
# Logging level
|
|
|
|
solr.log=${solr.solr.home}/../logs
|
|
|
|
log4j.rootLogger=INFO, file
|
|
|
|
|
|
|
|
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
|
|
|
|
|
|
|
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
2015-04-09 09:12:29 -04:00
|
|
|
log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x [%X{collection} %X{shard} %X{replica} %X{core}] \u2013 %m%n
|
2014-12-11 19:21:27 -05:00
|
|
|
|
|
|
|
#- size rotation with log cleanup.
|
|
|
|
log4j.appender.file=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.file.MaxFileSize=4MB
|
|
|
|
log4j.appender.file.MaxBackupIndex=9
|
|
|
|
|
|
|
|
#- File to log to and log format
|
|
|
|
log4j.appender.file.File=${solr.log}/solr.log
|
|
|
|
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
2016-06-06 17:21:49 -04:00
|
|
|
log4j.appender.file.layout.ConversionPattern=%-5p - %d{yyyy-MM-dd HH:mm:ss.SSS}; [%X{collection} %X{shard} %X{replica} %X{core}] %C; %m%n
|
2014-12-11 19:21:27 -05:00
|
|
|
|
|
|
|
log4j.logger.org.apache.zookeeper=WARN
|
|
|
|
log4j.logger.org.apache.hadoop=WARN
|
|
|
|
|
|
|
|
# set to INFO to enable infostream log messages
|
|
|
|
log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF
|