Skip to content

Commit 094a534

Browse files
committed
Enhance logging in onAuthenticationSuccess method for better request tracking
1 parent b294d43 commit 094a534

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/digitalsanctuary/spring/user/service/LoginSuccessService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public class LoginSuccessService extends SavedRequestAwareAuthenticationSuccessH
4444
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException,
4545
ServletException {
4646
log.debug("LoginSuccessService.onAuthenticationSuccess()");
47-
log.debug("LoginSuccessService.onAuthenticationSuccess:" + "called with authentiation: {}", authentication);
47+
log.debug("LoginSuccessService.onAuthenticationSuccess:" + "called with request: {}", request);
48+
log.debug("LoginSuccessService.onAuthenticationSuccess:" + "called with authentication: {}", authentication);
4849

4950
// Enhanced logging to check request attributes
5051
log.debug("Request URI: {}", request.getRequestURI());

0 commit comments

Comments
 (0)