You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Currently, the method RequestMatcherDelegatingAuthorizationManager.check is logging a message that doesn't provide much value.
When I enable the TRACE log level, I expect to see detailed logs that provide valuable information for troubleshooting purposes.
Current Behavior
The system is currently logging messages similar to this: 2024-04-03T14:38:42.649-03:00 TRACE 488138 --- [io-8080-exec-10] estMatcherDelegatingAuthorizationManager : Authorizing SecurityContextHolderAwareRequestWrapper[ org.springframework.security.web.savedrequest.SavedRequestAwareWrapper@5dff36af]
Logging a class that does not override the toString method merely populates the logs with uninformative content. Consider modifying this log instruction to include the URL being authorized, providing more context for troubleshooting.
canattofilipe
changed the title
Improve log on RequestMatcherDelegatingAuthorizationManager
Enhance Logging in RequestMatcherDelegatingAuthorizationManage
Apr 3, 2024
Expected Behavior
Currently, the method
RequestMatcherDelegatingAuthorizationManager.check
is logging a message that doesn't provide much value.When I enable the TRACE log level, I expect to see detailed logs that provide valuable information for troubleshooting purposes.
Current Behavior
The system is currently logging messages similar to this:
2024-04-03T14:38:42.649-03:00 TRACE 488138 --- [io-8080-exec-10] estMatcherDelegatingAuthorizationManager : Authorizing SecurityContextHolderAwareRequestWrapper[ org.springframework.security.web.savedrequest.SavedRequestAwareWrapper@5dff36af]
Logging a class that does not override the
toString
method merely populates the logs with uninformative content. Consider modifying this log instruction to include the URL being authorized, providing more context for troubleshooting.spring-security/web/src/main/java/org/springframework/security/web/access/intercept/RequestMatcherDelegatingAuthorizationManager.java
Line 74 in 9b79f68
The text was updated successfully, but these errors were encountered: