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 in Selenium by Diksha
448 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 by Sanjay

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

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,110 points
1,126 views
0 votes
1 answer
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,150 points
1,239 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,150 points
988 views
0 votes
1 answer