Log4j Multiple appenders using XML configuration - S
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 4544
Total Votes: 0 votes
Category: JAVA/Core JAVA
Submitted on: 2014-03-22 11:41:57
Submitted By: Appu T
Description:In this tutorials we are going to see how to create simple log4j application with multiple appenders using xml configuration.I used console appender and file appender in this example, you can use any number of appenders as your wish. Create java project called Log4jExample in your Eclipse IDE, then create package called com.javatutorialscorner.log4j.multipleappenders under log4j example,add log4j jar in your build path.I used log4j-1.2.17.jar jar for this application.you can download this jar from Apache web site.Create log4j.xml in your project... - See more at: http://www.javatutorialscorner.com/search/label/Log4j More detail...