I’ve recently switched logback configuration of our application from XML to Groovy.

Configuration file is not about 5 times smaller and can be displayed on one screen!

Groovy helped to remove duplicating parts of configurations by using for loop.

The moving was easy thanks to online conversion tool. And don’t forget to add a groovy-all runtime dependency to your project config.