Continuous gradle with logback and ratpack

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Continuous gradle with logback and ratpack

Alf Kristian

When running continuous with gradle (./gradlew -t run), it seems a default logback config is preferred to the one we have in our source code.

When running normally (./gradlew run), our logback.xml in src/main/resources is picked up.

We've tried to add logback-test.xml to src/main/resources as well, which should have the highest precedence, but no luck. Is this a bug in the ratpack gradle plugin, or are we missing some configuration.

Best regards,