I wrote a simple post a few years ago on unit testing your logging. Checking my logs I’ve seen that it’s always been a popular post as it appears to be something that lots of people want to do.
My previous version was based on log4j and since many people have moved on to logback I thought I would update it. So here it is
And that’s it.