Downloading Log4j Jar
Steps to follow:
1) Go to Apache Logging Services and click Apache log4j.
2) Click on “Download” on the left side menu.
3) You will always get the latest version here. Click on the ZIP file under Mirrors column.
4) Click on the highlighted link at the top of the page.
5) Select the radio button for “Save File” and click OK. Zip file will be saved on your system with in few seconds.
6) Right click on the Zip file and select “Extract All“.
7) Specify the location.
8) Wait for the Extraction to finish.
9) Open the Log4j extracted folder from the saved location.
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.