diff options
author | Vitaly Takmazov | 2021-10-30 04:35:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-10-30 04:35:33 +0300 |
commit | c13a2d02b037f7f0a1c0300ecec1b983436127ee (patch) | |
tree | 8570ca6e7c757fd0c79f2974abc69427d6da24bd /src/main/java | |
parent | ffd6563c7ebdd62902ba2583a2997d3f15271046 (diff) |
Additional logging for recommendations
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/juick/service/MessagesServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java index 3bb58a17..3e197bf1 100644 --- a/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -248,6 +248,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ @Transactional @Override public RecommendStatus recommendMessage(final int mid, final int vuid, final String userUri) { + logger.info("Message {} recommended by {} ({})", mid, vuid, userUri); SqlParameterSource sqlParameterSource = new MapSqlParameterSource().addValue("uid", vuid) .addValue("uri", userUri).addValue("like_id", Reaction.LIKE).addValue("mid", mid); int wasDeleted = getNamedParameterJdbcTemplate().update( |