aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/service/MessagesServiceImpl.java1
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(