0

I start Solr in the foreground like so C:\solr-8.10.1\bin\solr start -p 8983 -m 1536m -f -v It shows a command window and it logs a massive amount of DEBUG info, which I don't need.

I want to reduce the amount of logging here, and I found this: https://solr.apache.org/guide/8_5/configuring-logging.html This seems exactly like what I need for my scenario:

  1. I have many cores, each with their own solrconfig.xml:
  • C:\solr-8.10.1\server\solr\core1
  • C:\solr-8.10.1\server\solr\core2
  • C:\solr-8.10.1\server\solr\core3
  • C:\solr-8.10.1\server\solr\coreX
  1. I don't want to have to make the logging changes to each core separately but 1 global setting that applies to all
  2. I don't use Solr API, I want to be able to change settings via config files
  3. I want ERRORS to be logged, and also any slow queries

After reading the tutorial then I decided I need to:

  1. start Solr using solr start -p 8983 -m 1536m -f -q
  2. Need to add an element <slowQueryThresholdMillis>1000</slowQueryThresholdMillis>

However, it's that last part where I have questions. I see a reference made to so called configsets, but I have no idea if that's the place where I need to configure my global settings. I inspected the sample files, e.g. \solr-8.10.1\server\solr\configsets\sample_techproducts_configs\conf\solrconfig.xml But I can't figure out if that's the right config file or how it would even apply to all other cores without any reference to the other cores.

I've had a look at these already, but they seem to want to handle things via code, whereas I'm looking for a file configuration:

Adam
  • 6,682
  • 30
  • 108
  • 186

0 Answers0