You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2026/02/24 14:16:10 UTC

(grails-core) 01/01: fix(grails-gradle): change indy log level from lifecycle to info

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch fix/indy-log-level
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 5f250cb93f791caa49a8a24010a94f70cea6c0d9
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Tue Feb 24 09:16:03 2026 -0500

    fix(grails-gradle): change indy log level from lifecycle to info
    
    The indy disabled message prints on every build via logger.lifecycle,
    which is noisy for users. Change to logger.info so it only appears
    with --info or --debug flags.
    
    Assisted-by: OpenCode <op...@opencode.ai>
---
 .../groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
index c2d25076d5..b5e838ec30 100644
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
@@ -234,8 +234,8 @@ class GrailsGradlePlugin extends GroovyPlugin {
                 c.groovyOptions.optimizationOptions.indy = indyEnabled
             }
             if (!indyEnabled) {
-                project.logger.lifecycle('Grails: Groovy invokedynamic (indy) is disabled to improve performance (see issue #15293).')
-                project.logger.lifecycle('        To enable invokedynamic: grails { indy = true } in build.gradle')
+                project.logger.info('Grails: Groovy invokedynamic (indy) is disabled to improve performance (see issue #15293).')
+                project.logger.info('        To enable invokedynamic: grails { indy = true } in build.gradle')
             }
         }
     }