From a99ae5fd1215590fcc77f517efbed7f1602c8a3e Mon Sep 17 00:00:00 2001 From: KronosDP <darrel.danadyaksa19@gmail.com> Date: Fri, 28 Feb 2025 21:45:48 +0700 Subject: [PATCH] [REFACTOR] Enhance logging in AuthenticationService to include content details --- .../safetypin/authentication/service/AuthenticationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java index ebeb393..88df72f 100644 --- a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java +++ b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java @@ -143,7 +143,7 @@ public class AuthenticationService { if (!user.isVerified()) { return "Your account is not verified. Please complete OTP verification. You may request a new OTP after 2 minutes."; } - logger.info("AuthenticationService.postContent :: Content posted by user with email: {}", email); + logger.info("AuthenticationService.postContent :: Content {} posted by user with email: {}", content, email); // For demo purposes, we assume the post is successful. return "Content posted successfully"; } -- GitLab