From 0601bfca77df721494b01097df5e45ea9c06c10e Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Tue, 5 Aug 2025 11:16:58 -0700 Subject: [PATCH] FINERACT-2339: squelch static weaving log messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This quality of life patch reduces static weaving log message priority, reducing the default gradle build output by about 60 lines. example gradle run with these messages: > Configure project :custom ℹ Skipping static weaving configuration for non-Java project: custom > Configure project :fineract-accounting Configuring EclipseLink static weaving for fineract-accounting > Configure project :fineract-branch Configuring EclipseLink static weaving for fineract-branch ... --- static-weaving.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static-weaving.gradle b/static-weaving.gradle index e259a1ce3..a084ab687 100644 --- a/static-weaving.gradle +++ b/static-weaving.gradle @@ -22,7 +22,7 @@ project.afterEvaluate { // Only configure if this is a Java project if (!project.plugins.hasPlugin('java')) { - logger.lifecycle("ℹ Skipping static weaving configuration for non-Java project: ${project.name}") + logger.info("ℹ Skipping static weaving configuration for non-Java project: ${project.name}") return } @@ -31,7 +31,7 @@ project.afterEvaluate { def hasJpaEntities = persistenceXmlFile.exists() if (hasJpaEntities) { - logger.lifecycle("Configuring EclipseLink static weaving for ${project.name}") + logger.info("Configuring EclipseLink static weaving for ${project.name}") compileJava.doLast { def source = sourceSets.main.java.classesDirectory.get() @@ -59,8 +59,8 @@ project.afterEvaluate { } } - logger.lifecycle("✓ EclipseLink static weaving configured for ${project.name}") + logger.info("✓ EclipseLink static weaving configured for ${project.name}") } else { - logger.lifecycle("ℹ No JPA entities found in ${project.name}, skipping static weaving configuration") + logger.info("ℹ No JPA entities found in ${project.name}, skipping static weaving configuration") } }