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