Skip to content

Commit

Permalink
fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Apr 27, 2024
1 parent 481bfee commit 48a21ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void executeOperation(final BPMNPropertiesApplyOperation operation) {

// Refresh the Data, Schema and UISchema (this could be changed by an extension)
String _data = gModelElement.getArgs().get("JSONFormsData").toString();
logger.info(" -> new JSON String=" + _data);
logger.debug(" -> new JSON String=" + _data);
String _schema = gModelElement.getArgs().get("JSONFormsSchema").toString();
String _uiSchema = gModelElement.getArgs().get("JSONFormsUISchema").toString();

Expand All @@ -156,7 +156,8 @@ private void executeOperation(final BPMNPropertiesApplyOperation operation) {
actionDispatcher.dispatch(new BPMNPropertiesUpdateAction(_data, _schema,
_uiSchema));
}
logger.info("....execute Update " + operation.getId() + " in " + (System.currentTimeMillis() - l) + "ms");
logger.debug("....execute Update " + operation.getId() + " in " +
(System.currentTimeMillis() - l) + "ms");

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ public List<Marker> validate(final List<GModelElement> elements, final String re
beforeValidate(elements, reason);
List<Marker> markers = doValidate(elements, reason);
afterValidate(elements, reason);

logger.info("-----------------> validation took " + (System.currentTimeMillis() - l) + " ms");
logger.info("------------------ validation mode = " + (MarkersReason.LIVE.equals(reason) ? "LIVE" : "BATCH"));
logger.info("------------------ marker size = " + markers.size());
return markers;
}

Expand Down

0 comments on commit 48a21ae

Please sign in to comment.