Log4j DailyRollingFileAppender using Property Config

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Log4j DailyRollingFileAppender using Property Configurator - See more at: http://www.javatutorialscorner.com/search/label/Log4j#sthash.f11gXKcG.dpu

Statistics

  • Total Hits - 27235

  • Total Votes - 6 votes

  • Vote Up - 3 votes

  • Vote Down - 3 votes

  • Domain - www.javatutorialcorner.com

  • Category - JAVA/Core JAVA

  • Submitted By - Appu T

  • Submitted on - 2014-03-22 11:37:13

Description

In this tutorials we are going to see how to create simple log4j application with DailyRollingFileAppender using property configuration DailyRollingFileAppender DailyRollingFileAppender is used to create log file on daily basis.DailyRollingFileAppender extends FileAppender, inherits all property of FileAppender.DailyRollingFileAppender has one important property other than FileAppender given below. Property Description DatePattern This is used to set when to roll over file and naming conversion of file.By... - See more at: http://www.javatutorialcorner.com/search/label/Log4j ...


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

Advertisements