merlin
merlin

Reputation: 2917

Logging in admin UI does not entries after changing settings

I am trying to debug a datimport and changed inside solr 7.7.1 admin UI the loglevel of dataimport from ERROR to ALL. This does not have any effect, furthermore the setting will go back to the original settings after restarting and reindexing.

How can I enable logging for dataimport INFO?

enter image description here

enter image description here

Upvotes: 0

Views: 125

Answers (1)

MatsLindh
MatsLindh

Reputation: 52802

Any changes made in the web UI for logging are temporary changes and can't be persisted:

You can control the amount of logging output in Solr by using the Admin Web interface. Select the LOGGING link. Note that this page only lets you change settings in the running system and is not saved for the next run.

The easiest way to change the logging level might be to change it when starting Solr, either through the SOLR_LOG_LEVEL environment variable, or through the -v parameter to bin/solr:

bin/solr start -f -v

This will start Solr with the DEBUG log level by default.

More detailed, permanent logging configuration is done through the standard Log4j2 syntax, which can be configured in server/resources/log4j2.xml.

Upvotes: 1

Related Questions