Fixed previous commit.
This commit is contained in:
parent
407f22692b
commit
f4338ca7b2
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ public final class StatoolInfosLauncher
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
Level logEnvLevel = Level.getLevel(System.getenv().get("LOG4J_LEVEL"));
|
Level logEnvLevel = Level.getLevel(StringUtils.defaultString(System.getenv().get("LOG4J_LEVEL"), ""));
|
||||||
Level logPropertyLevel = Level.getLevel(System.getProperty("log4j2.level"));
|
Level logPropertyLevel = Level.getLevel(StringUtils.defaultString(System.getProperty("log4j2.level", "")));
|
||||||
|
|
||||||
Level level;
|
Level level;
|
||||||
if (logPropertyLevel != null)
|
if (logPropertyLevel != null)
|
||||||
|
|
Loading…
Reference in a new issue