You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2020/11/16 22:01:57 UTC
[lucene-solr] branch branch_8x updated: SOLR-14998: logging:
info->debug in CollectionsHandler (#2079)
This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 4d904e5 SOLR-14998: logging: info->debug in CollectionsHandler (#2079)
4d904e5 is described below
commit 4d904e523c9bc36f36403b9f3831b0563f3a1f79
Author: Nazerke Seidan <se...@gmail.com>
AuthorDate: Mon Nov 16 22:59:31 2020 +0100
SOLR-14998: logging: info->debug in CollectionsHandler (#2079)
Because it's almost always redundant with HttpSolrCall's admin request log.
Co-authored-by: Nazerke Seidan <ns...@salesforce.com>
(cherry picked from commit 2d583eaba7ab8eb778bebbc5557bae29ea481830)
---
.../src/java/org/apache/solr/handler/admin/CollectionsHandler.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java b/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java
index 5e1139a..f4fb7e0 100644
--- a/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java
@@ -239,8 +239,8 @@ public class CollectionsHandler extends RequestHandlerBase implements Permission
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Unknown action: " + a);
}
CollectionOperation operation = CollectionOperation.get(action);
- if (log.isInfoEnabled()) {
- log.info("Invoked Collection Action :{} with params {} and sendToOCPQueue={}"
+ if (log.isDebugEnabled()) {
+ log.debug("Invoked Collection Action :{} with params {} and sendToOCPQueue={}"
, action.toLower(), req.getParamString(), operation.sendToOCPQueue);
}
MDCLoggingContext.setCollection(req.getParams().get(COLLECTION));