On 11/20/2014 10:51 PM, solr2020 wrote:
> we have a Solr(solr4.2) setup with Jetty web server and the events are
> logged using log4j with the log level INFO.But here we would like to get
> more details about the update request received by UpdateRequestHandler. So
> is there anyway to configure debug log level kind of stuff for Update
> request only?.

For Solr 4.2, if you are using the default logging target of
java.util.logging, you will have a functional logging tab, where you
should be able to select the UpdateRequestHandler class and change the
level.

You can also provide a custom logging configuration to the logging class
and set the level there.

http://www.javapractices.com/topic/TopicAction.do?Id=143

I would recommend upgrading Solr -- the logging went through a major
overhaul with 4.3, and now uses log4j, and there is a log4j.properties
file included that sets up a rotating logfile.  If you are running
SolrCloud, you'd probably want to hold off until 4.10.3 comes out, though.

Thanks,
Shawn

Reply via email to