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

meonkeys pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0601bfca77 FINERACT-2339: squelch static weaving log messages
0601bfca77 is described below

commit 0601bfca77df721494b01097df5e45ea9c06c10e
Author: Adam Monsen <[email protected]>
AuthorDate: Tue Aug 5 11:16:58 2025 -0700

    FINERACT-2339: squelch static weaving log messages
    
    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 e259a1ce37..a084ab687c 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")
     }
 }

Reply via email to