How to download and add Log4j Jars to Eclipse for Selenium Webdriver

0 votes
Anyone please help me with the steps to download and add Log4j Jars to the Eclipse IDE for Selenium Webdriver?
May 22, 2019 in Selenium by Diksha
4,726 views

1 answer to this question.

0 votes

Hi Diksha, you can follow these steps to download and add Log4j Jars to Eclipse IDE:

Download Log4j Jar files:

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

  2. Click on “Download” on the left side menu.You will always get the latest version here. Click on the ZIP file under Mirrors column.

  3. Click on the highlighted link at the top of the page. Zip file will be saved on your system with in few seconds.

  4. Right click on the Zip file and select “Extract All“. Open the Log4j extracted folder from the saved location.


     

Add Log4j Jars to Project Library in Eclipse:
  1. Right click the Project name and navigate to Build Path and select “Configure Build Path“.


     
  2. Click on Add External JARS and navigate to the folder where you have kept the Log4j jar files.
  3. Select the Executable Jar File and click Apply.
  4. Finally click Apply and Close.

answered May 22, 2019 by Sanjay

Related Questions In Selenium

0 votes
1 answer

How can I add Cucumber Jar files in Eclipse to use with Selenium Webdriver?

Hey Eshan, follow these steps to add ...READ MORE

answered May 22, 2019 in Selenium by Abha
• 28,040 points
2,288 views
0 votes
1 answer

How to add Junit library in Eclipse to use with Selenium Webdriver?

Hi Jacky, to add JUnit library in ...READ MORE

answered Jun 11, 2019 in Selenium by Anvi
• 14,150 points
300 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,520 points
4,921 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,711 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
3,494 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
4,205 views
0 votes
2 answers
0 votes
1 answer