логи
This commit is contained in:
1 parent
c3fc2568e0
commit
df8d3ee404
1 file changed
+6
-2
@@ -62,7 +62,9 @@ class FilmLibraryService(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
businessMetricsService.recordLibraryEvent()
|
businessMetricsService.recordLibraryEvent()
|
||||||
log.info("Film re-added to library: userId={}, filmId={}, entryId={}", command.userId, command.filmId, saved.id)
|
log.info(
|
||||||
|
"Film re-added to library: userId={}, filmId={}, entryId={}",
|
||||||
|
command.userId, command.filmId, saved.id)
|
||||||
return saved
|
return saved
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,7 +103,9 @@ class FilmLibraryService(
|
|||||||
|
|
||||||
filmLibraryRepository.deleteById(existingLibrary.id)
|
filmLibraryRepository.deleteById(existingLibrary.id)
|
||||||
businessMetricsService.recordLibraryEvent()
|
businessMetricsService.recordLibraryEvent()
|
||||||
log.info("Film removed from library: userId={}, filmId={}, entryId={}", command.userId, command.filmId, existingLibrary.id)
|
log.info(
|
||||||
|
"Film removed from library: userId={}, filmId={}, entryId={}",
|
||||||
|
command.userId, command.filmId, existingLibrary.id)
|
||||||
return existingLibrary
|
return existingLibrary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user