[
https://issues.apache.org/jira/browse/UNOMI-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Gauthier updated UNOMI-810:
----------------------------------
Description:
Pb 1: There is no log to trace the creation, the deletion or the update of
metadata items such as:
Rules / Actions / Scoring Plans / Lists / Actions / profile property types /
session property types / personas / goals / campaigns / export configurations /
import configurations
Pb2 : In the segmentServiceImpl, in some cases,the segment / scoring id is not
logged, for instance for updateExistingProfilesForSegment and
updateExistingProfilesForScoring
https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1081
https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1193C21-L1193C21
was:
In the segmentServiceImpl, some logger do include the segment / scoring id,
such as:
{code:java}
logger.info("Start segment recalculation for segment: {} - {}",
linkedSegment.getItemId(), linkedSegment.getMetadata().getName());
{code}
https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L981
But in other cases, the segment / scoring id is not logged, for instance for
updateExistingProfilesForSegment and updateExistingProfilesForScoring
https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1081
https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1193C21-L1193C21
> Logging for segment & scoring creation/update is missing details
> ----------------------------------------------------------------
>
> Key: UNOMI-810
> URL: https://issues.apache.org/jira/browse/UNOMI-810
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Romain Gauthier
> Priority: Major
>
> Pb 1: There is no log to trace the creation, the deletion or the update of
> metadata items such as:
> Rules / Actions / Scoring Plans / Lists / Actions / profile property types /
> session property types / personas / goals / campaigns / export configurations
> / import configurations
> Pb2 : In the segmentServiceImpl, in some cases,the segment / scoring id is
> not logged, for instance for updateExistingProfilesForSegment and
> updateExistingProfilesForScoring
> https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1081
> https://github.com/apache/unomi/blob/52f87fca3850c76cc47689d6bf60ac055eed9c89/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L1193C21-L1193C21
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)