commented setOptionalMessage

This commit is contained in:
Francesco Mangiacrapa 2024-04-12 16:04:05 +02:00
parent ce2aaba503
commit 78cd17117c
1 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ public class ProfiledDocuments {
} }
}.execute().getResult(); }.execute().getResult();
if(log.isDebugEnabled()) { if(log.isInfoEnabled()) {
List<Field> allFields = Arrays.asList(StepExecutionRequest.class.getDeclaredFields()); List<Field> allFields = Arrays.asList(StepExecutionRequest.class.getDeclaredFields());
String fieldsName = allFields.stream().map(e -> e.getName()).collect(Collectors.joining(",")); String fieldsName = allFields.stream().map(e -> e.getName()).collect(Collectors.joining(","));
System.out.println("Fields name: "+fieldsName); System.out.println("Fields name: "+fieldsName);
@ -334,7 +334,7 @@ public class ProfiledDocuments {
item.setUserCaller(user.getUser()); item.setUserCaller(user.getUser());
item.setContext(user.getContext()); item.setContext(user.getContext());
item.setEvent(event); item.setEvent(event);
item.setOptionalMessage(request.getMessage()); //item.setOptionalMessage(request.getMessage());
item.setProject(theProject); item.setProject(theProject);
log.info("By notifying event ({}, ID {})", event, item.getProjectId()); log.info("By notifying event ({}, ID {})", event, item.getProjectId());
eventManager.notify(event, item); eventManager.notify(event, item);