Solved
Use log4j 2.x.x with SLF4J on AEM 6.5.15
We are on AEM 6.5 with uber-jar-6.5.15
We are trying to use log4j 2.x.x in order to be able to use lambda expression in log statements. How can we achieve this?
We are on AEM 6.5 with uber-jar-6.5.15
We are trying to use log4j 2.x.x in order to be able to use lambda expression in log statements. How can we achieve this?
I tested with below dependency and seems to be working.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.23.1</version>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.15</version>
</dependency>
Can you test above and also check if you are using these dependencies in any other project's module where you need to update them.
-Tarun
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.