Technologies - Log4J - Download, Eclipse Integration and Usage


Download - 

https://www.apache.org/dyn/closer.lua/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.zip

Usage 

  1. Logs the success action events - successful button click, select checkbox/radio button, etc.
  2. Logs failures or exceptions
  3. Logs the events with date and timestamp & many more 
  4. Only 2 jars are required for our purpose - log4j-api-2.14.1, log4j-core-2.14.1

Eclipse 

  1. Extract the Log4j Zip file
  2. Navigate to Build path in project
  3. Select External Jar files and select the extracted path - then select  log4j-api-2.14.1 & log4j-core-2.14.1 file alone.



Comments

Popular posts from this blog

QA's approach 2 Java - Understanding Static context

Selenium 4 absolute beginners - How to create Batch execution file

Technologies - Log4J - Create Log4j Configuration File - Where ? How ? What ?