Downloading Log4j Jar

Steps to follow:

1) Go to Apache Logging Services and click Apache log4j.

Download-Log4j-1

2) Click on “Download” on the left side menu.

Download-Log4j-2

3) You will always get the latest version here. Click on the ZIP file under Mirrors column.

Download-Log4j-3

4) Click on the highlighted link at the top of the page.

Download-Log4j-5

5) Select the radio button for “Save File” and click OK. Zip file will be saved on your system with in few seconds.

Download-Log4j-6

6) Right click on the Zip file and select “Extract All“.

Download-Log4j-7

7) Specify the location.

Download-Log4j-8

8) Wait for the Extraction to finish.

Download-Log4j-9

9) Open the Log4j extracted folder from the saved location.

Download-Log4j-10

Download-Log4j-11

You are done with downloading the Log4j JAR file, now all you need to do is to add this JAR file to your project and write your first Log4j logging enabled test script.