Completed
21:00 Step 8 - Run the Test and View Logs. Can also use cmd mvn test and check logs
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Implementing Log4j2 for Java Application Logging - Step-by-Step Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 00:00 Intro
- 2 00:27 Step 1 - Add Log4j2 Dependency - Log4j 2 is an improved version of Log4j with better performance & flexibility
- 3 04:33 Step 2 - Update dependencies by running: mvn clean install
- 4 05:12 Step 3 - Create log4j2.xml Configuration File in src/main/resources
- 5 08:46 Step 4 - Create a Logger Utility Class Log.java in src/main/java/utils
- 6 14:50 Step 5 - Integrate Logging into BaseTest.java
- 7 18:20 Step 6 - Integrate Logging into LoginPage.java
- 8 21:00 Step 8 - Run the Test and View Logs. Can also use cmd mvn test and check logs