Learn Java Logging

Explore the best options for logging in Java

Learn Logging in Java through Practice

Logging is a crucial part of application development, and effective logging can make a huge difference in identifying and fixing problems later on. Simply put, good logs are how you debug and understand what’s happening in your system. 

The Java ecosystem provides several options for implementing logging, from the JDK’s own built-in API to a host of open-source frameworks. 

In this course, we’ll get to learn our tools. We’ll explore the most used options, starting with the built-in JUL API, and moving to full-featured frameworks like Log4j 2, Logback, and SLF4J.

We’ll see how to enable each of these, add different types of logs, take full advantage of the advanced configuration options, and understand the benefits and drawbacks of each choice.

The essential guide to adding logging to your Java application. The 4 modules cover working with  JUL, Log4j, Logback, and SLFJ, to help you choose the best option for any project, and integrate logging effectively.

Everything you need to understand the logging ecosystem in Java.

1. Logging Fundamentals

3 LESSONS (Text)

  1. The Importance of Logging
  2. Introduction to Java Util Logging (JUL)
  3. Configuring and Customizing JUL

2. Log4j 2

4 LESSONS (Text)

  1. Introduction to Log4j 2
  2. Log4j 2 Configuration Basics
  3. Log4j 2 Appenders and Layouts (preview lesson)
  4. Log4j 2 Filters

3. Logback

3 LESSONS (Text)

  1. Getting Started with Logback
  2. Logback Configuration (upcoming)
  3. Advanced Logback Features

4. Logging Facade and Best Practice

3 LESSONS (Text)

  1. Using a Logging Facade – SLF4J (preview lesson)
  2. Logging Best Practices
  3. Testing Log Output (upcoming)

The lessons in this course are text-based, with a full project backing each one.

Access this course through Baeldung All Access

Our Full Course Library 

IntelliJ Idea Ultimate (6 months free)

JProfiler (6 months free)

All Upcoming Courses (Roadmap)

Certificates of Completion

Multiple-Choice questions in Each Lesson 

Pro Access

Yearly or the Lifetime access

Do you have a team who would benefit from taking the course?

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of the library. I’ve put a lot of work and care into the material and hope you’re going to use it and to develop and maintain your applications.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn’t a good fit, just contact me within 20 days of purchase, and ask for a full refund for any single course package.