Spring Boot: JSON logging with logback
Channel:
Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=EM5E6qKDl70
Configure a Spring Boot application to log differently for each profile being used. Use the logstash encoder to log the output in the JSON format which can then be used by monitoring systems to calculate statistics on how often errors occur.
Link to code: https://github.com/ekim197711/springboot-jsonlogging-logback
Other Videos By Mike Møller Nielsen
Tags:
logback
sl4j
spring
java
logstash
json
logback-spring.xml
spring boot