We are done with basic introduction to log4j, now lets make our setup ready to work with log4j in selenium.
Download Log4j:-
Step1:-
Open the link http://logging.apache.org/log4j/1.2/download.html
Step2:-
Click on the below link
Step3:-
Click on the Apache Download Mirrors link
Step4:-
Save and Extract the file
Step5:-
Include the Jar file in project and we are done
How to add Jar to project.
Step1:-
Open the link http://logging.apache.org/log4j/1.2/download.html
Step2:-
Click on the below link
log4j zip file link |
Click on the Apache Download Mirrors link
log4j download link |
Save and Extract the file
Downloading the log4j jar file |
log4j jar file after extraction |
Step5:-
Include the Jar file in project and we are done
How to add Jar to project.
Adding log4j jar files to Java project |