Revision 57787
Added by Ioannis Diplas over 4 years ago
web.xml | ||
---|---|---|
4 | 4 |
<listener> |
5 | 5 |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
6 | 6 |
</listener> |
7 |
<listener> |
|
8 |
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> |
|
9 |
<!-- TODO: import correct dependency --> |
|
10 |
<!-- <listener-class>org.apache.logging.log4j.web.Log4jServletContextListener</listener-class>--> |
|
11 |
</listener> |
|
12 | 7 |
|
13 | 8 |
<context-param> |
14 | 9 |
<param-name>contextConfigLocation</param-name> |
... | ... | |
18 | 13 |
</param-value> |
19 | 14 |
</context-param> |
20 | 15 |
<context-param> |
21 |
<param-name>log4jConfigLocation</param-name> |
|
22 |
<param-value>/WEB-INF/log4j.properties</param-value> |
|
23 |
</context-param> |
|
24 |
<context-param> |
|
25 | 16 |
<param-name>log4jRefreshInterval</param-name> |
26 | 17 |
<param-value>1000</param-value> |
27 | 18 |
</context-param> |
Also available in: Unified diff
Fixing a logging issue