Set default logger level to ERROR.

This commit is contained in:
Christian P. MOMON 2021-05-14 18:11:42 +02:00
parent 395b9c6034
commit 24fbcd46a8

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
* Copyright (C) 2020-2021 Christian Pierre MOMON <christian@momon.org>
*
* This file is part of StatoolInfos, simple service statistics tool.
*
@ -63,7 +63,7 @@ public final class StatoolInfosLauncher
else
{
BasicConfigurator.configure(new ConsoleAppender(new EnhancedPatternLayout("%m%n")));
org.apache.log4j.Logger.getRootLogger().setLevel(Level.INFO);
org.apache.log4j.Logger.getRootLogger().setLevel(Level.ERROR);
}
// Run.