sb.append("User: ").append(identity.getName()).append("\n");
sb.append(logText).append("\n");
Property logProperty = cpm.findCourseNodeProperty(courseNode, assessedIdentity, null, LOG_IDENTIFYER);
if (logProperty == null) {
logProperty = cpm.createCourseNodePropertyInstance(courseNode, assessedIdentity, null, LOG_IDENTIFYER, null, null, null, sb.toString());
cpm.saveProperty(logProperty);
} else {
String newLog = logProperty.getTextValue() + sb.toString();
String limitedLogContent = createLimitedLogContent(newLog,60000);
logProperty.setTextValue(limitedLogContent);
cpm.updateProperty(logProperty);