struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [VOTE] Struts 2.5 BETA1
Date Fri, 07 Aug 2015 13:09:36 GMT
2015-08-07 10:28 GMT+02:00 Christoph Nenning <Christoph.Nenning@lex-com.net>:
>> Wait but Log4j2 can Log4j directly
>
> How to configure that?

I've just added these to my pom

<dependency>
  <groupId>log4j</groupId>
  <artifactId>log4j</artifactId>
  <version>1.2.17</version>
</dependency>

and it works

> Beside the approach I posted earlier I only found the other solution to
> throw log4j1 stuff away and create a log4j2 config. Therefore I needed
> these 2 jars: log4j-core and log4j-slf4j-impl.
> But that caused log messages sent via slf4j-api to appear twice. So more
> fiddling is required.

Here is more infor about Log4j 1.x bridge
http://logging.apache.org/log4j/2.x/manual/migration.html


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message