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.

enter image description here

how can achieve log4j2.xml files considered?

i found answer own question.

that required 2 steps,

  1. adding log4j-web jar classpath.
  2. i configure web.xml file of web applications in tomcat server.

for more detailed solution, click here


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -