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 course
    Describe logging using log4j
    Include log4j dependencies in the project, the application programming interface (api), and the core library
    Implement logging messages at different log levels in tests
    Programmatically configure log4j appenders, layouts, loggers, and filters
  • Bind the slf4j api to the log4j framework
    Configure appenders and multiple loggers for log4j using the properties file
    Configure time-based and size-based rolling logs
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 9s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 8m 35s
    Upon completion of this video, you will be able to describe logging using Log4j. FREE ACCESS
  • Locked
    3.  Including Log4j Dependencies
    7m 57s
    During this video, you will learn how to include Log4j dependencies in the project, the application programming interface (API), and the core library. FREE ACCESS
  • Locked
    4.  Basic Logging with Log4j
    9m 42s
    Find out how to implement logging messages at different log levels in tests. FREE ACCESS
  • Locked
    5.  Configuring Log4j Programmatically
    12m 54s
    In this video, discover how to programmatically configure Log4j appenders, layouts, loggers, and filters. FREE ACCESS
  • Locked
    6.  Binding SLF4J to Log4j
    5m 18s
    Learn how to bind the SLF4j API to the Log4j framework. FREE ACCESS
  • Locked
    7.  Configuring Log4j Using the Properties File
    8m 18s
    In this video, find out how to configure appenders and multiple loggers for Log4j using the properties file. FREE ACCESS
  • Locked
    8.  Configuring Rolling Logs and Filters
    8m 43s
    Discover how to configure time-based and size-based rolling logs. FREE ACCESS
  • Locked
    9.  Course Summary
    1m 58s
    In 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.

YOU MIGHT ALSO LIKE

Rating 4.5 of 165 users Rating 4.5 of 165 users (165)
Rating 4.5 of 91 users Rating 4.5 of 91 users (91)