Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-11373: Enable infoStream logging (#3910)

Eric Pughcfe456a17851
diff --git a/changelog/unreleased/SOLR-11373.yml b/changelog/unreleased/SOLR-11373.yml
new file mode 100644
index 00000000000..2964fb41c94
--- /dev/null
+++ b/changelog/unreleased/SOLR-11373.yml
@@ -0,0 +1,8 @@
+# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
+title: Restore actual infoStream logging when infoStream in solrconfig.xml is set to true.
+type: fixed # added, changed, fixed, deprecated, removed, dependency_update, security, other
+authors:
+ - name: Eric Pugh
+links:
+ - name: SOLR-11373
+ url: https://issues.apache.org/jira/browse/SOLR-11373
diff --git a/solr/server/resources/log4j2.xml b/solr/server/resources/log4j2.xml
index 049c9e5e7ab..1d70770b73a 100644
--- a/solr/server/resources/log4j2.xml
+++ b/solr/server/resources/log4j2.xml
@@ -63,7 +63,7 @@
</Appenders>
<Loggers>
<!-- Use <AsyncLogger/<AsyncRoot and <Logger/<Root for asynchronous logging or synchronous logging respectively -->
- <AsyncLogger name="org.apache.solr.update.LoggingInfoStream" level="off"/>
+ <AsyncLogger name="org.apache.solr.update.LoggingInfoStream" level="info"/>
<AsyncLogger name="org.apache.zookeeper" level="warn"/>
<!-- HttpSolrCall adds markers denoting the handler class to allow fine grained control, metrics are
very noisy so by default the metrics handler is turned off to see metrics logging set DENY to ACCEPT -->