This post discusses the challenge of accessing a Spring Bean from a custom Logback appender in a Spring Boot application and provides three solutions to fix this issue. It also introduces Digma, a tool for dev/test observability.

14m read timeFrom digma.ai
Post cover image
Table of contents
Table of ContentsA bit of background:Access to Spring ApplicationContext from a custom Logback appenderDev/Test Observability using DigmaCorrelating Log and Trace using DigmaLearn more about Digma:Final Thought

Sort: