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.

SpringBoot

SpringBoot SpringBoot Application :  Pros & Cons :  SpringBoot Application creation using spring.io :  SpringBoot Application Annotation...