From 70b3a330ef4265ebb1bc535edaf3ad529a949637 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 1 Jul 2013 10:07:38 -0500 Subject: [PATCH] #137 WebSecurityConfigurerAdapter no longer uses getClass() for logger Previously it was difficult to change log levels due to CGLIB proxying of the class which impacted the logger name. --- .../web/configuration/WebSecurityConfigurerAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java b/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java index 962daf01f7..b5debd2cba 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java @@ -47,7 +47,7 @@ import org.springframework.security.web.access.intercept.FilterSecurityIntercept * @author Rob Winch */ public abstract class WebSecurityConfigurerAdapter implements SecurityConfigurer { - private final Log logger = LogFactory.getLog(getClass()); + private final Log logger = LogFactory.getLog(WebSecurityConfigurerAdapter.class); private ApplicationContext context;