Struts2 + Log4j2

I am developing a web application Struts2

and I am setting up a logger. The official documentation only has configuration for log4j

, but nothing about log4j2

. I started looking around and I Struts2

don't seem to support it log4j2

. But the last question I found is the following:

Log4j2.0 not working with Jboss 5

Struts2 doesn't support Log4j 2.0 right now, there are plans to add support for it during the upcoming strutsathon.opensource.io

Since this question was answered in 2013, is Struts2 still not supported log4j2

?

+3


source to share


1 answer


You're lucky! The latest version ( 2.3.24

), as you can see in the Release Notes , added:



New feature

  • [ WW-4492 ] - add support for Log4J2 as rack and xwork documentation backend
+2


source







All Articles