Bruno,

On 1/6/22 17:58, Bruno Melloni wrote:
Success!

The issue turned out to be that placing the log4j2 jars and log4j2-tomcat.xml in the tomcat/lib folder no longer works.

The solution:

  * Followed the official instructions to the letter
    (https://logging.apache.org/log4j/2.x/log4j-appserver/index.html)
  * Used this canned log4j2-tomcat.xml file that replicates the original
    tomcat files but using log4j
    (https://gist.github.com/bmaupin/475a0cd6e8b374d876f5085846761fb6)
  * Could not edit setenv.sh in Windows (does not exist), so instead I
    added the following (knowingly ugly and inflexible code - for now)
    to catalina.bat:

On Windows, use SETENV.BAT.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to