spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.55k stars 5.79k forks source link

Adjust DefaultSecurityFilterChain Logging Level and Simplify Filter Logging #15096

Closed baezzys closed 1 month ago

baezzys commented 1 month ago

Overview

This PR addresses issue #12218

  1. Changes the logging level of DefaultSecurityFilterChain from INFO to DEBUG to align with FilterChainProxy.
  2. Logs only the class names of filters instead of their full toString of filter.
jzheaux commented 1 month ago

Thanks, @baezzys! This is now merged into main. I also added a polish to reuse some of the String manipulation support in Spring Framework.