You also put a colon ':' in

FINEST, :

BTW, this will give you a _lot_ of output....

Best,
Erick

On Fri, Apr 7, 2017 at 6:17 AM, KRIS MUSSHORN <mussho...@comcast.net> wrote:
> SOLR 5.4.1
>
> log files have this entry
>
>
> log4j:ERROR Could not find value for key log4j.appender.: file
> log4j:ERROR Could not instantiate appender named ": file".
>
>
> Here is my config file and the only thing i have changed is set level to 
> FINEST in line 3. Otherwise this is the default file.
>
> # Logging level
> solr.log=logs
> log4j.rootLogger=FINEST,: file, CONSOLE
>
> log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
>
> log4j.appender.CONSOLE.layout=org.apache.log4j.EnhancedPatternLayout
> log4j.appender.CONSOLE.layout.ConversionPattern=%-4r %-5p (%t) 
> [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m%n
>
> #- size rotation with log cleanup.
> log4j.appender.file=org.apache.log4j.RollingFileAppender
> log4j.appender.file.MaxFileSize=100MB
> 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.EnhancedPatternLayout
> log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p 
> (%t) [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m\n
>
> 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
>

Reply via email to