Solr is a great piece of software but its logging is bloody annoying. Defaultwise on my Tomcat, it will write all its log messages to the system out log, which is a pain in the but to say the least.
To make it log to its own log file, this is what I did to tomcat/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/escenic 6localhost.org.apache.juli.FileHandler.prefix = solr. org.apache.solr.level=INFO org.apache.solr.handlers=6localhost.org.apache.juli.FileHandler
Now, I get all solr messages in /var/log/escenic/solr-2009-07-22.log. What a relief! Of course, you may want to drop the logging level to WARNING