Why use Log4j

There are multiple benefits of Log4j in the project:

  1. It is an open source.
  2. With the help of Log4j, it is possible to store the flow details of our Selenium Automation in a file or databases.
  3. Log4j is used for large as well as small projects.
  4. In Log4j, we use the log statements in place of System.out.print statement in the code to know the status of a project.
  5. Log4j supports Internationalization.