From 39a07094fe01f7c103ef8f680547bf2ccde7a3b2 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 1 Oct 2020 16:37:09 +0200 Subject: [PATCH] Fixed default log level. --- src/fr/devinsy/statoolinfos/StatoolInfosLauncher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fr/devinsy/statoolinfos/StatoolInfosLauncher.java b/src/fr/devinsy/statoolinfos/StatoolInfosLauncher.java index 8ad8377..3fda6a8 100644 --- a/src/fr/devinsy/statoolinfos/StatoolInfosLauncher.java +++ b/src/fr/devinsy/statoolinfos/StatoolInfosLauncher.java @@ -23,6 +23,7 @@ import java.io.File; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.EnhancedPatternLayout; +import org.apache.log4j.Level; import org.apache.log4j.PropertyConfigurator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -62,6 +63,7 @@ public final class StatoolInfosLauncher else { BasicConfigurator.configure(new ConsoleAppender(new EnhancedPatternLayout("%m%n"))); + org.apache.log4j.Logger.getRootLogger().setLevel(Level.INFO); } // Run.