Changed log level

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib@153182 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-09-18 14:33:35 +00:00
parent 2b10846ee9
commit 76baf9de84
1 changed files with 2 additions and 2 deletions

View File

@ -225,11 +225,11 @@ public class RecordUtility {
// verify if serializedMap is a json (new serializable or old method)
if (DSMapper.isJSONValid(json)){
logger.debug("Unmarshal record with jackson");
logger.trace("Unmarshal record with jackson");
return (R) DSMapper.unmarshal(Record.class, json);
} else {
//old method
logger.debug("Unmarshal record custom");
logger.trace("Unmarshal record serialized as Map");
Map<String,? extends Serializable> map = getMapFromString(json);
if (map!=null){
Record record = getRecord(map);