lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msaunier <msaun...@citya.com>
Subject No solr.log in solr cloud 7.3
Date Wed, 30 May 2018 14:40:19 GMT
Hello,

 

Today, I don’t understand why, but I don’t have solr.log file. I have just:

 

drwxr-xr-x 1 solr solr     84 mai   30 16:19 archived

-rw-r--r-- 1 solr solr 891352 mai   30 16:29 solr-8983-console.log

-rw-r--r-- 1 solr solr  74068 mai   30 16:34 solr_gc.log.0.current

 

My log4j.properties:

 

# Default Solr log4j config

# rootLogger log level may be programmatically overridden by
-Dsolr.log.level

solr.log=${solr.log.dir}

log4j.rootLogger=INFO, file, CONSOLE

 

# Console appender will be programmatically disabled when Solr is started
with option -Dsolr.log.muteconsole

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

log4j.appender.CONSOLE.layout=org.apache.log4j.EnhancedPatternLayout

log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS}
%-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=32MB

log4j.appender.file.MaxBackupIndex=10

 

#- 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

 

# Adjust logging levels that should differ from root logger

log4j.logger.org.apache.zookeeper=WARN

log4j.logger.org.apache.hadoop=WARN

log4j.logger.org.eclipse.jetty=WARN

log4j.logger.org.eclipse.jetty.server.Server=INFO

log4j.logger.org.eclipse.jetty.server.ServerConnector=INFO

 

# set to INFO to enable infostream log messages

log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF

 

# début ajouts par FH

#log4j.appender.CONSOLE.threshold=debug

#log4j.logger.com.citya=ALL

# fin ajouts par FH

 

Thanks,

Maxence,


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message