You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2022/02/02 10:23:41 UTC
[solr] branch branch_9_0 updated: SOLR-15968 bin/solr zk always throws exception - change zk logging to ERROR level for SolrCLI (#586)
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new 6256e3c SOLR-15968 bin/solr zk always throws exception - change zk logging to ERROR level for SolrCLI (#586)
6256e3c is described below
commit 6256e3c8f64e3fbfef3702b6dcbe0f882cfd2d26
Author: Jan Høydahl <ja...@users.noreply.github.com>
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 a8dc7dd..3725694 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -553,6 +553,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">