Speaker Deck

Logging and Tracing with Context Information - Log4j, Zipkin and Spring Sleuth

by Alexander Schwartz

Published September 19, 2017 in Technology

Analyzing a distributed Microservice environment requires you to correlate logs entries and trace calls between services. Log4j, Zipkin and Spring Sleuth will do that for you!

Error Messages in logs are the starting point of a search for clues. But if you're running in a distributed Microservice environment, correlation of logs entries and tracing between services becomes important.

Logging frameworks can add context information that and log them together with the message. If you need more functionality, Zipkin can help you: It will provide correlation IDs to correlate log entries between systems. You can add this information to your existing logs or forward it to a central Zipkin server. You can augment the traces with tags so you can search them online.

This presentation gives an introduction about the possibilities of Log4j and shows the additional possibilities of Zipkin and Spring Sleuth.