I am using solr server (linux) and sometimes it stops automatically. Can somebody please tell me where i can find the log files?
Go to /home/solr-anchor/solr/server/logs and view the file solr. log .
Choosing Log Level at Startup You can temporarily choose a different logging level as you start Solr. There are two ways: The first way is to set the SOLR_LOG_LEVEL environment variable before you start Solr, or place the same variable in bin/solr.in.sh or bin/solr. in.
Debugging Solr in IntellijHit the + button and select Remote . Give this configuration a name, and set the port number to the port number passed in the address command above (here it'd be 4044). Now start the debugging session, and viola! You should be able to set breakpoints and work in the Solr/Lucene codebase.
Solr is a search server built on top of Apache Lucene, an open source, Java-based, information retrieval library. It is designed to drive powerful document retrieval applications - wherever you need to serve data to users based on their queries, Solr can work for you.
By default, Solr log messages will be written to
server/logs/solr.log
and to stdout (console).
Check log4j.properties
filed under your Solr root/resources
and set the solr.log
property to the location where you want Solr to write log files.
Solr also provides logging UI via web. Logging UI is available under Logging menu item, e.g.:
http://localhost:8983/solr/#/~logging
. Additional documentation can be found here: Configuring Logging.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With