Log4j Logging in file using XML configuration
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 3354
Total Votes: 0 votes
Category: JAVA/Core JAVA
Submitted on: 2014-03-22 11:44:55
Submitted By: Appu T
Description:In this tutorials we are going to see how to create simple log4j application to logging message into file using DOM Configurator with java program.org.apache.log4j.FileAppender used to log the message in file, configuration available in FileAppender is listed below. Property Description immediatlush Default value of immediate flush is true, which means that output stream of the file being flushed with each append operation. encoding Default value of encoding is platform specific encoding.we can... - See more at: http://www.javatutorialscorner.com/search/label/Log4j More detail...