Fixed default log level.
This commit is contained in:
parent
cf0fa8600c
commit
39a07094fe
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue