From 78cd17117c80f694fc490cbf2c510861569a4391 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 12 Apr 2024 16:04:05 +0200 Subject: [PATCH] commented setOptionalMessage --- .../application/geoportal/service/rest/ProfiledDocuments.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java index b3717a3..2f7a8da 100644 --- a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java @@ -319,7 +319,7 @@ public class ProfiledDocuments { } }.execute().getResult(); - if(log.isDebugEnabled()) { + if(log.isInfoEnabled()) { List allFields = Arrays.asList(StepExecutionRequest.class.getDeclaredFields()); String fieldsName = allFields.stream().map(e -> e.getName()).collect(Collectors.joining(",")); System.out.println("Fields name: "+fieldsName); @@ -334,7 +334,7 @@ public class ProfiledDocuments { item.setUserCaller(user.getUser()); item.setContext(user.getContext()); item.setEvent(event); - item.setOptionalMessage(request.getMessage()); + //item.setOptionalMessage(request.getMessage()); item.setProject(theProject); log.info("By notifying event ({}, ID {})", event, item.getProjectId()); eventManager.notify(event, item);