Lowered log level
This commit is contained in:
parent
c1e8000bd0
commit
803e7776ee
|
@ -60,9 +60,9 @@ public class Serialization {
|
||||||
|
|
||||||
|
|
||||||
public static QueryRequest parseQuery(String queryString) throws IOException {
|
public static QueryRequest parseQuery(String queryString) throws IOException {
|
||||||
log.debug("Parsing query Request {} ",queryString);
|
log.trace("Parsing query Request {} ",queryString);
|
||||||
Document queryDocument = Document.parse(queryString);
|
Document queryDocument = Document.parse(queryString);
|
||||||
log.debug("Document is ",queryDocument.toJson());
|
log.trace("Document is ",queryDocument.toJson());
|
||||||
QueryRequest req = new QueryRequest();
|
QueryRequest req = new QueryRequest();
|
||||||
if (queryDocument.getOrDefault("ordering",null)!=null)
|
if (queryDocument.getOrDefault("ordering",null)!=null)
|
||||||
req.setOrdering(Serialization.read(((Document) queryDocument.get("ordering")).toJson(), QueryRequest.OrderedRequest.class));
|
req.setOrdering(Serialization.read(((Document) queryDocument.get("ordering")).toJson(), QueryRequest.OrderedRequest.class));
|
||||||
|
|
Loading…
Reference in New Issue