Saturday, August 3, 2013

Log4j example in java


  1. Download “log4j-x.x.x.jar” file.
  2. Create a java project in eclipse.
  3. Open project’s properties and click on “Java Build Path” and then go to “Libraries” tab and add this jar by click on “Add External Jars..” tab.