improved logs

This commit is contained in:
Francesco Mangiacrapa 2023-04-28 12:30:48 +02:00
parent 05634834fe
commit 6203503026
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog for org.gcube.application.cms.ckan-plugin
## [v1.2.1-SNAPSHOT]
- Improved some logs
## [v1.2.0]
- Integrated the field 'geov_link' (Geoportal GisViewer link) in the centroid layer [#24859]

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>default-lc-managers</artifactId>
<version>1.2.0</version>
<version>1.2.1-SNAPSHOT</version>
<name>gCube CMS - Default LC Managers</name>

View File

@ -210,7 +210,8 @@ public abstract class AbstractLifeCycleManager extends AbstractPlugin implements
@Override
public EventExecutionReport onEvent(EventExecutionRequest request) throws EventException, InvalidPluginRequestException {
log.info("Executing Event {}",request);
log.info("Executing Event {}, Parameters: {}, Context: {}",request.getEvent(), request.getCallParameters(), request.getContext());
log.info("Event fired on ProjectID {} with ProfileID: {}",request.getDocument().getId(), request.getDocument().getProfileID());
EventExecutionReport report=new EventExecutionReport(request);
report.getToSetLifecycleInformation().addEventReport(new TriggeredEvents());
TriggeredEvents info = report.getToSetLifecycleInformation().getLastEvent();