Merge branch 'master' of https://source.jalview.org/git/proteocache into PROT-9-webse...
[proteocache.git] / WEB-INF / web.xml
index 937633c..f084afd 100644 (file)
        <!-- Spring Security -->\r
 \r
        <listener>\r
+               <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>\r
+       </listener>\r
+\r
+       <listener>\r
                <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>\r
        </listener>\r
 \r
                        /WEB-INF/spring-security.xml\r
                </param-value>\r
        </context-param>\r
+       \r
+       <context-param>\r
+               <param-name>log4jConfigLocation</param-name>\r
+               <param-value>/WEB-INF/classes/log4j.properties</param-value>\r
+       </context-param>\r
 \r
        <filter>\r
                <filter-name>springSecurityFilterChain</filter-name>\r