From 2b59b2b295eb9b3a6123a7abca815ab7937b7f0e Mon Sep 17 00:00:00 2001 From: minwoo0419 Date: Mon, 26 Aug 2024 20:32:14 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#124=20=EB=A1=9C=EA=B9=85=20=EC=A4=84?= =?UTF-8?q?=EB=B0=94=EA=BF=88=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/telepigeon/server/service/answer/AnswerService.java | 2 +- .../java/com/telepigeon/server/service/external/FcmService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/telepigeon/server/service/answer/AnswerService.java b/src/main/java/com/telepigeon/server/service/answer/AnswerService.java index f52cdaf..4482722 100644 --- a/src/main/java/com/telepigeon/server/service/answer/AnswerService.java +++ b/src/main/java/com/telepigeon/server/service/answer/AnswerService.java @@ -111,7 +111,7 @@ public Answer create( roomId ) ); - log.info("답장 생성 완료.\n내용 : {}\n감정 점수 : {}\n이전 평균 감정 점수 : {}\n현재 평균 감정 점수 : {}", answer.getContent(), answer.getEmotion(), preEmotion, profile.getEmotion()); + log.info("\n답장 생성 완료.\n내용 : {}\n감정 점수 : {}\n이전 평균 감정 점수 : {}\n현재 평균 감정 점수 : {}", answer.getContent(), answer.getEmotion(), preEmotion, profile.getEmotion()); return answer; } diff --git a/src/main/java/com/telepigeon/server/service/external/FcmService.java b/src/main/java/com/telepigeon/server/service/external/FcmService.java index 12316b2..686fd48 100644 --- a/src/main/java/com/telepigeon/server/service/external/FcmService.java +++ b/src/main/java/com/telepigeon/server/service/external/FcmService.java @@ -19,7 +19,7 @@ public void send( Message message = createMessage(fcmToken, fcmMessageDto); try{ FirebaseMessaging.getInstance().send(message); - log.info("{} 사용자 -> {} 사용자 푸시 알림 성공.\n알림 유형 : {}\n내용 : {}", fcmMessageDto.senderName(), fcmMessageDto.receiverName(), fcmMessageDto.type(), fcmMessageDto.body()); + log.info("\n{} 사용자 -> {} 사용자 푸시 알림 성공.\n알림 유형 : {}\n내용 : {}", fcmMessageDto.senderName(), fcmMessageDto.receiverName(), fcmMessageDto.type(), fcmMessageDto.body()); } catch (FirebaseMessagingException e){ log.error("Failed to send message. fcm Token : {}", fcmToken); }