2013-03-27 10:09:38 -04:00
|
|
|
# Logging level
|
2013-06-26 16:18:33 -04:00
|
|
|
solr.log=logs/
|
2013-03-27 10:09:38 -04:00
|
|
|
log4j.rootLogger=INFO, file, CONSOLE
|
|
|
|
|
|
|
|
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
|
|
|
|
|
|
|
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x \u2013 %m%n
|
|
|
|
|
|
|
|
#- 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
|
2013-06-26 16:18:33 -04:00
|
|
|
log4j.appender.file.File=${solr.log}/solr.log
|
2013-03-27 10:09:38 -04:00
|
|
|
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
2013-04-07 22:39:01 -04:00
|
|
|
log4j.appender.file.layout.ConversionPattern=%-5p - %d{yyyy-MM-dd HH:mm:ss.SSS}; %C; %m\n
|
|
|
|
|
2013-06-26 16:18:33 -04:00
|
|
|
log4j.logger.org.apache.zookeeper=WARN
|
|
|
|
log4j.logger.org.apache.hadoop=WARN
|
2013-07-02 09:34:12 -04:00
|
|
|
|
|
|
|
# set to INFO to enable infostream log messages
|
|
|
|
log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF
|