1. Edit $TOMCAT_HOME/conf/logging.properties
# added 6localhost.org.apache.juli.FileHandler to the list of handlers
6localhost.org.apache.juli.FileHandler.level = FINE
6localhost.org.apache.juli.FileHandler.directory = /var/log/tomcat6/solr
6localhost.org.apache.juli.FileHandler.prefix = solr.
org.apache.solr.level=INFO
org.apache.solr.handlers=6localhost.org.apache.juli.FileHandler
2. make sure u put the handler in the list of handlers in the line,
handlers = 1catalina.org.apache.juli.FileHandler, ……
3. also make sure ur log output directory is right..
6localhost.org.apache.juli.FileHandler.directory = /var/log/tomcat6/solr
No comments:
Post a Comment