Location

Location: /WEB-INF/classes/, <context-param>, <param-name>log4jConfigLocation</param-name>, <param-name>log4jConfigLocation</param-name> <para, and <context-param> </context-param>.

/WEB-INF/classes/
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-name>log4jConfigLocation</param-name> <param-value>classpath:log4j.xml</param-value>
<context-param> </context-param>
Path: with ${catalina.home}, a tomcat specific variable. Use it with file:// prefix
Updated: 2026 Aug 19