This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 3a99d91 SOLR-15968 bin/solr zk always throws exception - change zk
logging to ERROR level for SolrCLI (#586)
3a99d91 is described below
commit 3a99d915de39fa6e6f473015677af57a9bd4e71c
Author: Jan Høydahl <[email protected]>
AuthorDate: Wed Feb 2 11:03:52 2022 +0100
SOLR-15968 bin/solr zk always throws exception - change zk logging to ERROR
level for SolrCLI (#586)
(cherry picked from commit 38421ea20581e4f9d8f57dd2af631566f5947c10)
---
solr/CHANGES.txt | 2 ++
solr/server/resources/log4j2-console.xml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6e908e6..3246eda 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -583,6 +583,8 @@ Bug Fixes
* SOLR-15961: Fix bug in PKIAuthenticationPlugin that can cause a request to
fail with 401 Unauthorized instead
of re-fetching expired remote keys from other nodes. (Tomás Fernández Löbbe)
+* SOLR-15968: Hide annoying WARN log from bin/solr zk command (janhoy, Mike
Drob)
+
================== 8.11.2 ==================
Bug Fixes
diff --git a/solr/server/resources/log4j2-console.xml
b/solr/server/resources/log4j2-console.xml
index 923b018..38677c3 100644
--- a/solr/server/resources/log4j2-console.xml
+++ b/solr/server/resources/log4j2-console.xml
@@ -31,7 +31,7 @@
</Appenders>
<Loggers>
<!-- Use <AsyncLogger/<AsyncRoot and <Logger/<Root for asynchronous
logging or synchonous logging respectively -->
- <AsyncLogger name="org.apache.zookeeper" level="WARN"/>
+ <AsyncLogger name="org.apache.zookeeper" level="ERROR"/>
<AsyncLogger name="org.apache.hadoop" level="WARN"/>
<AsyncRoot level="INFO">