2015-05-29 8:20 GMT+02:00 Joseph Walton <[email protected]>: > >> On 29 May 2015, at 3:55 pm, Lukasz Lenart <[email protected]> wrote: > ... >> My assumption was that we do this in Struts 3 - drop other layers and >> use Log4j2 as a main layer. >> >> What do you think about that? > > As long as you’re making changes to logging, have you given consideration to > making SLF4J the standard facade in Struts? That would allow making Log4j2 > the preferred implementation without impacting anyone who wanted to stick > with Log4j “classic”.
That's the idea behind using Log4j2 - it has the same capabilities as SLF4J or even more - so we can drop existing XWork logging facade and use directly Log4j2 as a facade but I have doubts if it isn't too early :) https://logging.apache.org/log4j/2.0/log4j-1.2-api/index.html https://logging.apache.org/log4j/2.0/log4j-slf4j-impl/index.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
