Home » logback

Tag Archives: logback

Logback Custom Appender Example

This article discusses creating a custom Appender for logback, a logging framework for the Java application. 1. Introduction to Logback Logback is designed to be the successor for Log4j. It has been developed by the same development community. These are some of the advantages logback has over log4j Faster implementation – ~10x faster on some critical areasAutomatic Reloading of configuration ...

Read More »

Logback OutputStreamAppender Example

This article discusses the OutputStreamAppender of logback, a logging framework for the Java application. 1. Introduction to Logback and Appender Logback is designed to be the successor for Log4j. It has been developed by the same development community. These are some of the advantages logback has over log4j Faster implementation – ~10x faster on some critical areas Automatic Reloading of ...

Read More »

Logback Kafka Appender Example

This article discusses Kafka as a logging destination for a Java application. In this tutorial, We will use logback as the logging framework. 1. Logback Kafka Appender – Introduction Logback is designed to be the successor for Log4j. It has been developed by the same development community. These are some of the advantages logback has over log4j Faster implementation – ...

Read More »

Logback vs Log4j Example

In this post, we feature a comprehensive Example on Logback vs Log4j. Logback and Log4j are the most widely used logging frameworks in the Java community. In this tutorial, I will demonstrate how to log the messages in Java applications with both Logback and Log4j. Table Of Contents 1. Introduction 2. Technologies Used 3. Maven Java Application 3.1 Dependencies 3.2 ...

Read More »

Logback Tutorial for Beginners

In this post, we feature a comprehensive Logback Tutorial. Logback is one of the most widely used logging frameworks in the Java community. It provides more options for configuration and more flexibility in archiving old log files. In this tutorial, I will demonstrate its three key components: Logger, Appender, and Layout. Table Of Contents 1. Introduction 2. Technologies Used 3. Spring ...

Read More »

Play! Framework Logging Example

Logging is a really important feature every application must have. Without it, it’s nearly impossible to know what your application is doing, how long does it take it, if it is failing, and if it is, why. With this in mind, play added logging support to it’s framework, using logback as logging implementation, and giving access to it through the ...

Read More »