On 4/19/2018 12:32 AM, Bernd Fehling wrote:
Would be cool if that would be possible, to change the log level for solr.log
from the Admin UI. Imagine, a running system with problems, you can change
log level and get more logging info into solr.log without restarting the system
and overloading the Logging Admin UI:

That's exactly what the logging level page is for.

With a default configuration, any entry that you change, to any level, has the potential to affect what is logged to solr.log.  If you set an entry to a level that's higher than WARN, it has the potential to affect both solr.log as well as reduce logging seen in the admin UI.  Whether or not a particular change has any noticeable effect will depend on exactly what logging statements are in the the affected class(es) and exactly what Solr is doing.

For an example that should make a visible change to solr.log on a server that's actively being used, find in the structure org->apache->solr->handler and set that to DEBUG.  When I did this on a 6.x version, each query that Solr received logged an extra line, duplicating much of the information already being logged at INFO.  To remove the change, set it to UNSET.

Thanks,
Shawn

Reply via email to