Just like to define custom Bootstrap.groovy
or UrlMappings.groovy
in a Grails plugin, we can define FooBootstrap.groovy
or FooUrlMappings.groovy
so that those can be bundled in the plugin because the earlier are excluded by default. http://docs.grails.org/latest/guide/plugins.html#_excluded_artefacts
How can we do the same for logback.groovy
? I have a multi-project build where a single Grails plugin is used by 3 different Grails application.
My research & trials:
- I tried creating a
foo-logback.groovy
but that is not loading. - Grails 3: External Logback.groovy file