Advanced Selenium Frameworks: Performing Logging Using Log4j
Selenium 4.19
| Intermediate
- 9 videos | 1h 5m 33s
- Includes Assessment
- Earns a Badge
Log4j is a powerful Java-based logging utility that allows developers to control log messages through various levels, enabling effective debugging and monitoring of applications. It offers flexibility in log management and supports customization through configuration files for dynamic logging scenarios. In this course, you will explore the integration of logging mechanisms in your software testing process using Log4j. Next, you will learn the basics of logging with Log4j, capturing and recording various levels of informational messages from trace to fatal. You will programmatically configure logging to adjust behaviors based on the application's context. Then, you will configure console and file appenders, use PatternLayout for message formatting, and set up multiple loggers in a hierarchical structure. Finally, you will discover the advanced capabilities of Log4j by binding SLF4J to Log4j. You will also configure Log4j using the properties file for easy adjustments and customize logging formats and destinations. Additionally, you will set up rolling logs and filters to manage log file sizes and enhance the efficiency of your logging system.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseDescribe logging using log4jInclude log4j dependencies in the project, the application programming interface (api), and the core libraryImplement logging messages at different log levels in testsProgrammatically configure log4j appenders, layouts, loggers, and filters
-
Bind the slf4j api to the log4j frameworkConfigure appenders and multiple loggers for log4j using the properties fileConfigure time-based and size-based rolling logsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 9sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
8m 35sUpon completion of this video, you will be able to describe logging using Log4j. FREE ACCESS
-
7m 57sDuring this video, you will learn how to include Log4j dependencies in the project, the application programming interface (API), and the core library. FREE ACCESS
-
9m 42sFind out how to implement logging messages at different log levels in tests. FREE ACCESS
-
12m 54sIn this video, discover how to programmatically configure Log4j appenders, layouts, loggers, and filters. FREE ACCESS
-
5m 18sLearn how to bind the SLF4j API to the Log4j framework. FREE ACCESS
-
8m 18sIn this video, find out how to configure appenders and multiple loggers for Log4j using the properties file. FREE ACCESS
-
8m 43sDiscover how to configure time-based and size-based rolling logs. FREE ACCESS
-
1m 58sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.