|
|||||
|
|
||||
|
What is Log :
What is Log4j :
Why Log4j
Log 4j Components
It is responsible for logging information. Create the instance of logger class Log4j levels :
used to deliver log Events to their destination
It is responsible for formatting logging info in different styles Steps to create log
https://mvnrepository.com/artifact/log4j/log4j
Steps to create for
creating log 4j by automation step by step (Working)
Can add jar files or maven dependency https://logging.apache.org/log4j/2.x/maven-artifacts.html
Class where you want to add log statements
log4j.properties file :
|
||||
|
|||||
|
|
||||
|
Comments
Post a Comment