[ 
https://issues.apache.org/jira/browse/UNOMI-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Gauthier updated UNOMI-810:
----------------------------------
    Summary: Logging for segment & scoring creation/update is missing details  
(was: Logging for segment & scoring creation/update isn't precise enough)

> 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
>
> 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
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to