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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git

commit b367e73b501ede5b9a1f744d40c59d2d265faf43
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Mon Nov 25 08:05:24 2024 +0100

    Recompute colors during logger configuration
---
 .../src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/impl/maven-logging/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
 
b/impl/maven-logging/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
index 14b81aff49..e8b1fa26de 100644
--- 
a/impl/maven-logging/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
+++ 
b/impl/maven-logging/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
@@ -160,6 +160,11 @@ public class MavenSimpleLogger extends MavenBaseLogger {
         } else {
             this.currentLogLevel = defaultLogLevel;
         }
+        traceRenderedLevel = builder().trace("TRACE").build();
+        debugRenderedLevel = builder().debug("DEBUG").build();
+        infoRenderedLevel = builder().info("INFO").build();
+        warnRenderedLevel = builder().warning("WARNING").build();
+        errorRenderedLevel = builder().error("ERROR").build();
     }
 
     public void setLogLevel(int logLevel) {

Reply via email to