Log4j2 includes an adapter so that calls to the log4j-1.2 API are forwarded to the log4j2 implementation.
To use this, put the log4j-1.2-api-2.2.jar in the classpath and remove the log4j-1.2.17.jar from the classpath. Configuration for log4j-1.2 will be ignored. Only the log4j2 config will be used. Sent from my iPhone > On 2015/04/27, at 19:30, Chathura Priyankara <[email protected]> wrote: > > Hi, > > Currently I'm working on upgrading an application from log4j 1.2.17 to log4j > 2.2. This application use some third party applications like Axis2 which use > log4j 1.2.x. > > So I need to use both log4j 1.2 and log4j 2.2 together to make this > application work. > Is this possible to do ? > > Thanks, > Regards, > Chathura > > -- > Chathura Priyankara, > Faculty of Information Technology, > University of Moratuwa. > Blog : www.codeoncloud.blogspot.com
