Setup Log4J logging in Selenium Java with example

Опубликовано: 03 Октябрь 2024
на канале: Raj B
312
6

In this video tutorial we will go through step by step process on how to include log4j logging mechanism into selenium project.

In this we create log4j properties file where we set up the log levels i.e. logger and later we define the appenders for both console and log file and we also define formatters.

Later the log4j.properties file is included in the example selenium java code and we see the loggers logging into both console and the log file.



Subscribe : https://bit.ly/2oCwC5N
Twitter : @rajtechtrainer
Facebook :   / raj.techtrainer  
Google Plus : https://plus.google.com/1147137354446...

For any training requirements both online and offline or Corporate training please contact us at techtrainerraj at gmail.com