From 2d583eaba7ab8eb778bebbc5557bae29ea481830 Mon Sep 17 00:00:00 2001 From: Nazerke Seidan Date: Mon, 16 Nov 2020 22:59:31 +0100 Subject: [PATCH] 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 --- .../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 9242d6c2816..8d7e7cff34d 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 @@ -229,8 +229,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));