Re: Log4j2 in Struts-2.5.16 applicaiton

2018-06-25 Thread Lukasz Lenart
I think you must use Log4j Bridge https://logging.apache.org/log4j/2.x/manual/migration.html https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ sob., 23 cze 2018 o 18:02 learning9...@gmail.com napisał(a): > > I'm

Log4j2 in Struts-2.5.16 applicaiton

2018-06-23 Thread learning9010
I'm migrating to struts 2.5.16 from struts-1. i want to disable freemarker logs, facing issues when using log4j2. below is the exception for quick reference java.lang.ExceptionInInitializerError at org.apache.logging.log4j.core.impl.Log4jLogEvent.createContextData(Log4jLogEvent.java:472)