All IT Courses 50% Off
JAVA Tutorials

Creation Of Properties File In Java

How To Use Log4J In Java

Log4J API:

• Log4J is a third party API used for the purpose of creating logging information at runtime
• Logging information means it will create log file with information such as time of execution, date of execution, etc…logging information can be for development codes for testing scripts
• Getting log information helps us to understand the root cause of failure or success of a test script or a development code
• Log4J was created for java and then gradually , the API was made for other languages
• Log4j has an inbuilt class called logger which is used to log information at run time

Facebook Comments

Related Articles

Back to top button