Skip to content

Structured Logging in Logback

2 pointswsargentdiscuss
On HN

I wrote up a project to show how to do structured logging in Logback, and used the opportunity to structure Logback so you can set it once in a library and then only have to think about it when you set log levels.

There is also a fair bit of commentary about how to do good structured logging, and demo code and output.

https://github.com/tersesystems/terse-logback

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.