Skip to content

Commit

Permalink
Update CommentController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
DucBaoUIT committed Dec 14, 2024
1 parent 91b6f3a commit 5b04c3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ public ResponseEntity<?> uploadComment(@RequestBody Comment comment) {
//ELK
MDC.put("type", "commentservice");
MDC.put("action", "upload");
MDC.put("userID", comment.getUserId());
MDC.put("videoID", comment.getVideoId());
logger.info("CommentId: " + savedComment.getId());
logger.info("VideoId: " + comment.getVideoId());
logger.info("UserId: " + comment.getUserId());

return ResponseEntity.ok(savedComment);
} catch (Exception e) {
Expand Down

0 comments on commit 5b04c3a

Please sign in to comment.