From 743d72ca7bfbcfa0808593b0a31f6f453c679cbf Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Wed, 26 Mar 2008 15:27:09 +0000 Subject: [PATCH] Added log4j support to tutorial app --- samples/tutorial/pom.xml | 5 +++++ samples/tutorial/src/main/webapp/WEB-INF/web.xml | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) 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 +