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 <nseidan@salesforce.com>
This commit is contained in:
Nazerke Seidan 2020-11-16 22:59:31 +01:00 committed by GitHub
parent fd3ffd0d38
commit 2d583eaba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,8 @@ public class CollectionsHandler extends RequestHandlerBase implements Permission
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Unknown action: " + a); throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Unknown action: " + a);
} }
CollectionOperation operation = CollectionOperation.get(action); CollectionOperation operation = CollectionOperation.get(action);
if (log.isInfoEnabled()) { if (log.isDebugEnabled()) {
log.info("Invoked Collection Action :{} with params {} and sendToOCPQueue={}" log.debug("Invoked Collection Action :{} with params {} and sendToOCPQueue={}"
, action.toLower(), req.getParamString(), operation.sendToOCPQueue); , action.toLower(), req.getParamString(), operation.sendToOCPQueue);
} }
MDCLoggingContext.setCollection(req.getParams().get(COLLECTION)); MDCLoggingContext.setCollection(req.getParams().get(COLLECTION));