diff --git a/samples/tutorial/pom.xml b/samples/tutorial/pom.xml index 0125187a02..d445fd4d9e 100644 --- a/samples/tutorial/pom.xml +++ b/samples/tutorial/pom.xml @@ -58,6 +58,11 @@ standard runtime + + log4j + log4j + runtime + diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml index 31023e1432..ea872ccfea 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml @@ -21,7 +21,12 @@ classpath:applicationContext-business.xml /WEB-INF/applicationContext-security-ns.xml - + + + + log4jConfigLocation + /WEB-INF/classes/log4j.properties + springSecurityFilterChain @@ -48,7 +53,11 @@ --> org.springframework.security.ui.session.HttpSessionEventPublisher - + + + + org.springframework.web.util.Log4jConfigListener +