[ https://issues.apache.org/jira/browse/UNOMI-810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788995#comment-17788995 ]
David Griffon edited comment on UNOMI-810 at 12/11/23 4:26 PM: --------------------------------------------------------------- An info log has been added at persistence level to log any save/update/remove operation on MetadataItem (rule, segment, userlist, etc ..) Example of generated log: {code} 07:13:09.670 INFO [qtp1023874235-109] Item of type UserList with ID test_oz3xl0xgc has been removed 07:13:44.780 INFO [qtp1023874235-286] Item of type segment with ID leads has been saved {code} A refresh has been added to the scope migration to avoid scope not present while doing upgrade from 1.x to 2.4.x on a slow ES was (Author: dgriffon): An info log has been added at persistence level to log any save/update/remove operation on MetadataItem (rule, segment, userlist, etc ..) Example of generated log: {code} 07:13:09.670 INFO [qtp1023874235-109] Item of type UserList with ID test_oz3xl0xgc has been removed 07:13:44.780 INFO [qtp1023874235-286] Item of type segment with ID leads has been saved {code} > 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 > Assignee: David Griffon > Priority: Major > Fix For: unomi-1.10.0, unomi-2.5.0 > > Time Spent: 50m > Remaining Estimate: 0h > > 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)