Removed uneeded log

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134662 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-11-24 10:27:36 +00:00
parent 87cd63d2b6
commit 635f18f667
1 changed files with 2 additions and 4 deletions

View File

@ -93,9 +93,7 @@ public class SchemaManagementImpl implements SchemaManagement {
protected static String serializeOClass(OClass oClass) throws SchemaException {
ODocument oDocument = ((OClassImpl) oClass).toStream();
String json = oDocument.toJSON();
logger.trace("Requested type serialization is {}", json);
return json;
return oDocument.toJSON();
}
protected List<OClass> getSuperclassesAndCheckCompliancy(
@ -241,7 +239,7 @@ public class SchemaManagementImpl implements SchemaManagement {
}
String ret = serializeOClass(toBeSerializedOClass);
logger.info("{} type registered successfully: {}", baseType, jsonSchema);
logger.info("{} type registered successfully: {}", baseType.getSimpleName(), jsonSchema);
return ret;
} catch (Exception e) {