Log4j logging in File using Property Configuration -
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 2879
Total Votes: 1 votes
Category: JAVA/Core JAVA
Submitted on: 2014-03-22 11:46:16
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 Property 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... - See more at: http://www.javatutorialscorner.com/search/label/Log4j More detail...