Log4j Multiple appender using Property configuration
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 1884
Total Votes: 0 votes
Category: JAVA/Core JAVA
Submitted on: 2014-03-22 11:43:18
Submitted By: Appu T
Description:In this tutorials we are going to see how to create simple log4j application with multiple appenders using property 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.properties in... - See more at: http://www.javatutorialscorner.com/search/label/Log4j More detail...