On 4/18/2018 8:03 AM, Bernd Fehling wrote:
I just tried to change the log level with Solr Admin UI but it
does not change any logging on my running SolrCloud.
It just shows the changes in the Admin UI and the commands in the
request log, but no changes in the level of logging.
Do I have to RELOAD the collection after changing log level?
I tried all setting from ALL, TRACE, DEBUG, ...
Also the Reference Guide 6.6 shows the Admin UI as I see it, but
the table below the image has levels FINEST, FINE, CONFIG, ...
https://lucene.apache.org/solr/guide/6_6/configuring-logging.html
This is confusing.
What exact setting in the logging tab did you change, and what did you
expect to happen that didn't happen?
The logging events that show up in the admin UI will never include
anything with a severity lower than WARN. Anything lower would be far
too much information for the admin UI to handle. Changing the level
shown in the admin UI is likely possible, but probably requires a code
change. If changed, I think it would result in a UI page that's
unusable because it contains far too many events.
Assuming that log4j.properties hasn't been altered, you will find lower
severity events in solr.log, a file on disk. The default logging level
that Solr uses is INFO, but INFO logs never show up in the admin UI.
Also, changes made to logging levels in the admin UI only last as long
as Solr is running. When Solr is restarted, those changes are gone.
Only changes made in log4j.properties will survive a restart.
Thanks,
Shawn