Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
A comprehensive one-hour crash course for beginners on Spring Boot logging that covers everything needed to implement proper logging practices. Learn essential logging techniques starting with console logging basics, then progress to configuring default logger settings for development and production environments. Explore remote logging implementation with Grafana Loki, discover how to set up rotating JSON file logs, and master attaching custom metadata to logs. By the end of this tutorial, gain the knowledge to determine what information to log, where to log it, and how to configure logging rules to display only relevant information. The video includes practical demonstrations with source code available on GitHub, covering console logger configuration with Logback, Grafana Loki log appenders, and production logging best practices to help you become proficient in Spring Boot logging implementation.
Syllabus
00:00 - Introduction
2:00 - Console logging
7:05 - Configuring what to log when
13:14 - Grafana Loki overview
16:24 - Console logger config with Logback
24:10 - Grafana Loki log appenders
44:20 - Attaching custom Loki metadata
53:46 - Rotating JSON file logs
1:01:17 - Production logging best practices
Taught by
Philipp Lackner