Log4j logging in File using Property Configuration -

Tutorials Shared by the Internet Community



Log4j logging in File using Property Configuration - See more at: http://www.javatutorialscorner.com/search/label/Log4j#sthash.2HcTw1UR.dpuf


  • Total Hits - 27559

  • Total Votes - 8 votes

  • Vote Up - 5 votes

  • Vote Down - 3 votes

  • Domain - www.javatutorialcorner.com

  • Category - JAVA/Core JAVA

  • Submitted By - Appu T

  • Submitted on - 2014-03-22 11:46:16


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.javatutorialcorner.com/search/label/Log4j ...

Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down