Wednesday, 23 September 2015

log4j Configuration

Step1:  Add dependency in pom.xml file.

Step2:  Need to add below logger code snippet in log4j2.xml file in your application.


Step3: Need to change as below code snippet in applicationContext.xml in your application.


 Step 4: Restart the server and check the console.

2026 Interview Preparations

==================== Java 8 vs Java 11 vs Java 21 ==================== Java 8 : Lamda expressions, Functional Interfaces, Default and Static...