# Define the root logger with the appender = console
# Supported Logging Levels in low-high order is
# DEBUG < INFO < WARN < ERROR < FATAL
# Logging levels are inherited from the root logger, and, logging levels
# are enabled in a low-high order for e.g. logging level ERROR will enable
# ERROR and FATAL log messages to be displayed on the appender.
log4j.rootLogger = INFO, CONSOLE, STDERR

# Define the console appender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

# Define the layout for console appender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
# See (https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html)
# for details on the pattern layout string.
log4j.appender.CONSOLE.layout.conversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p] [%C{1}]: %m%n

log4j.appender.STDERR=org.apache.log4j.ConsoleAppender
log4j.appender.STDERR.layout=org.apache.log4j.PatternLayout
log4j.appender.STDERR.layout.conversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p] [%C{1}]: %m%n
log4j.appender.STDERR.Threshold=WARN
log4j.appender.STDERR.Target=System.err

# Define the root logger with the appender = console
# Supported Logging Levels in low-high order is
# DEBUG < INFO < WARN < ERROR < FATAL
# Logging levels are inherited from the root logger, and, logging levels
# are enabled in a low-high order for e.g. logging level ERROR will enable
# ERROR and FATAL log messages to be displayed on the appender.
log4j.rootLogger = INFO, CONSOLE

# Define the console appender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

# Define the layout for console appender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
# See (https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html)
# for details on the pattern layout string.
log4j.appender.CONSOLE.layout.conversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p] [%C{1}]: %m%n

Revert "Log errors to stderr so they can be captured by non-java software"
Revert "Log errors to stderr so they can be captured by non-java software"

This reverts commit 353d29deeb20305b396278093173d6f0ceafe225.
