diff --git a/src/main/java/cotato/growingpain/log/service/ActivityLogService.java b/src/main/java/cotato/growingpain/log/service/ActivityLogService.java index 65ce04b..94a647e 100644 --- a/src/main/java/cotato/growingpain/log/service/ActivityLogService.java +++ b/src/main/java/cotato/growingpain/log/service/ActivityLogService.java @@ -54,7 +54,7 @@ public ActivityLogDTO updateActivityLog(Long activityLogId, ActivityLogDTO updat @Transactional public void deleteActivityLog(Long activityLogId, Long memberId) { - ActivityLog existingActivityLog = activityLogRepository.findByMemberIdAndId(activityLogId, memberId) + ActivityLog existingActivityLog = activityLogRepository.findById(activityLogId) .orElseThrow(() -> new NoSuchElementException("ActivityLog not found with ID: " + activityLogId)); activityLogRepository.delete(existingActivityLog); } diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml deleted file mode 100644 index 9fb58c3..0000000 --- a/src/main/resources/logback-spring.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - ${DISCORD_WEBHOOK_URL} - - %d{HH:mm:ss} [%thread] [%-5level] %logger{36} - %msg%n```%ex{full}``` - - 에러났댜ㅑㅑㅑㅑㅑㅑ - - https://jjal.today/data/file/gallery/1889155643_NZHvkRLz_e0292b65bb682075bfdb752a4d8f4062f0b7738a.png - - false - - - - - - ERROR - - - - - - - - - diff --git a/src/main/resources/logback-test.xml b/src/main/resources/logback-test.xml deleted file mode 100644 index 324dc45..0000000 --- a/src/main/resources/logback-test.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - ${DISCORD_WEBHOOK_URI} - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %msg %n - - 에러났댜ㅑㅑㅑㅑㅑㅑ - - https://img.freepik.com/premium-photo/server-logs-analysis-closeup-developing-programming-and-coding-technologies-developer-working-on-web-sites-codes-in-office_372999-779.jpg - - false - - - - - - %d %-5level %logger{35} - %msg%n - - - - - - - ERROR - - - - - - - - - \ No newline at end of file