Logger output should go to STDERR instead of STDOUT

This commit is contained in:
Joel Thibault 2014-03-04 19:40:08 -05:00
parent b4dde6a78c
commit 57747ad35e
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public class CommandLineUtils {
}
// Extracted from BasicConfigurator.configure(), but only applied to the Sting logger.
Logger.getRootLogger().addAppender(new ConsoleAppender(
new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN)));
new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN), ConsoleAppender.SYSTEM_ERR));
}
/**