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 306a92a..29a4359 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 @@ -123,6 +123,7 @@ public class ProfiledDocuments { item.setContext(user.getContext()); item.setEvent(event); item.setProject(theNewProject); + log.info("By notifying event ({}, ID {})", event, item.getId()); eventManager.notify(event, item); return theNewProject; @@ -155,6 +156,7 @@ public class ProfiledDocuments { item.setContext(user.getContext()); item.setEvent(event); item.setProject(theUpdatedProject); + log.info("By notifying event ({}, ID {})", event, item.getId()); eventManager.notify(event, item); return theUpdatedProject; @@ -215,6 +217,7 @@ public class ProfiledDocuments { deletedProject.setId(id); deletedProject.setProfileID(manager.getUseCaseDescriptor().getId()); item.setProject(deletedProject); + log.info("By notifying event ({}, ID {})", event, item.getId()); eventManager.notify(event, item); return deleted; @@ -302,6 +305,7 @@ public class ProfiledDocuments { item.setContext(user.getContext()); item.setEvent(event); item.setProject(theProject); + log.info("By notifying event ({}, ID {})", event, item.getId()); eventManager.notify(event, item); return theProject;