Spring Boot provides a simple way to configure and customize console logs using various properties. In this tutorial, we will discuss the different ways to customize Spring Boot console logs and improve the application’s readability and performance.
Logging
Configuring Spring Boot to use Log4j
This article introduces you to using Log4j in Spring Boot application by showing the configuration steps you need to put in place and a sample application that uses log4j. Spring Logging at high level Out of the box, Spring Boot configures logging via Logback to log to the console at the level INFO. In most … Read more
Configure Spring Boot logging with application.yml
Spring Boot allows you to externalize configurations by using an application.properties or application.yml file. In this tutorial we will discuss about configuring Logging with the application.yml
file.
Configuring Log4j2 in Spring Boot applications
Log4j2 is the latest release of the popular Logging Framework. In this tutorial we will learn how to integrate Log4j2 configuration file in an example Spring Boot web application.
How to trace HTTP Requests in Spring Boot using CommonsRequestLoggingFilter
This tutorial shows how to trace incoming HTTP requests using CommonsRequestLoggingFilter.