On 4/17/2014 4:35 AM, Kim, Soonho (IFPRI) wrote: > I have a quick question on the log files of solr 3.4 (multicore) in Jetty > (linux). I am using this solr search linking with Drupal 6. > I tried to find the log files for this multicore (live/dev) but I couldn't > find it. > For the single core, I found it under apache-solr-3.4/example/logs/jetty.log. > For the multicore, when I run this using java -Dsolr.solr.home=multicore -jar > start.jar, then I can see some output from the system such as
Solr 3.x has the logging jars included in the .war file, and they bind to java.util.logging. The default for this logging is stdout, which is why you see them on your screen. The situation changed with Solr 4.3.0 -- the logging jars were moved out of the .war file and the binding was changed from java.util.logging to log4j. A config file for the logging was also provided in the example, one that logs to a file as well as stdout. Since you're running a release before that change, you'll need to create a logging config file for java.util.logging (typically named logging.properties, but any name is possible) and add a system property to your java commandline: -Djava.util.logging.config.file=myLoggingConfigFilePath The Solr wiki has an example config file: http://wiki.apache.org/solr/LoggingInDefaultJettySetup If you can do it, I would strongly recommend using a much newer version of Solr. Thanks, Shawn