tomcat - log4j2.xml is overriden. How to stop it? -
i have tomcat server , in tomcat server, there 3 projects, each having log4j2.xml configuration file. tomcat has own log4j2.xml file well. when projects started, log4j2.xml file of tomcat taken , others ignored (or overriden).
the version of tomcat server 7.0.67 , version of log4j 2.5.
how can achieve log4j2.xml files considered?
i found answer own question.
that required 2 steps,
- adding log4j-web jar classpath.
- i configure web.xml file of web applications in tomcat server.
for more detailed solution, click here
Comments
Post a Comment