Grails 3: External Logback.groovy file
问题 I'm trying to externalize my logback.groovy file by setting the path in my build.gradle file in the bootrun closure: bootRun { if (Environment.currentEnvironment == Environment.PRODUCTION) { jvmArgs = ['-XX:MaxPermSize=2g', '-Xmx2g', '-Dlogging.config=/path/to/config/logback.groovy'] } else { jvmArgs = ['-XX:MaxPermSize=2g', '-Xmx2g'] } } But I am getting: .logback.classic.LoggerContext[default] - Found resource [logback.groovy] at [file:/Users/name/workspace/project/build/resources/main