mirror of https://github.com/apache/lucene.git
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:
parent
fd3ffd0d38
commit
2d583eaba7
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue