Logger output should go to STDERR instead of STDOUT
This commit is contained in:
parent
b4dde6a78c
commit
57747ad35e
|
|
@ -173,7 +173,7 @@ public class CommandLineUtils {
|
||||||
}
|
}
|
||||||
// Extracted from BasicConfigurator.configure(), but only applied to the Sting logger.
|
// Extracted from BasicConfigurator.configure(), but only applied to the Sting logger.
|
||||||
Logger.getRootLogger().addAppender(new ConsoleAppender(
|
Logger.getRootLogger().addAppender(new ConsoleAppender(
|
||||||
new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN)));
|
new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN), ConsoleAppender.SYSTEM_ERR));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue