On 11/24/21 5:59 AM, Andy Lester wrote:
You were spot on, commitWithin was being set on each commit. I was able to
verify by temporarily turning on debug logging for DirectUpdateHandler2
What did you do to enable that? I didn’t know you could do such a thing. Is it
specific to that handler?
If you can find the class in the admin UI under "Logging" -> "Level" you
can easily change the logging level just for that class, without
restarting Solr. It seems that using the browser "find" feature will
not locate a class by name. But you can follow the hierarchy to find
org.apache.solr.update.DirectUpdateHandler2.
Another way to do it is editing the log4j config and then restarting Solr.
Debug logging for DirectUpdateHandler2 is VERY verbose. It's not
something you would want to leave enabled all the time. The logging
that shows up in the admin UI only goes to the WARN level, so you'll
need to look at solr.log to see those debug logs.
Thanks,
Shawn