Fixed default log level.

This commit is contained in:
Christian P. MOMON 2020-10-01 16:37:09 +02:00
parent cf0fa8600c
commit 39a07094fe

View file

@ -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.