Log4j HTML Layout

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Log4j HTML Layout Java Tutorial Corner

Statistics

  • Total Hits - 27195

  • 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:31:09

Description

In this tutorial we are going to see how to generate HTML formatted file using log4j, org.apache.log4j.HTMLLayout is used to generate HTML formatted log file. The HTMLLayout class extends the org.apache.log4j.Layout class which is abstract class and overrides the format() method from its base class.Create java project called Log4jExample in your Eclipse IDE, then create package called com.javatutorialscorner.log4j.htmllayout under log4j example,add log4j jar in your build path.I used log4j-1.2.17.jar jar for this application.you can download... - See more at: http://www.javatutorialcorner.com/search/label/Log4j ...


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

Advertisements