######################################
# Configure the log4j logging system
######################################

# Set the root output level and appenders
log4j.rootCategory=ERROR, fileAppender

# Create an appender that prints to the console
log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.consoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.consoleAppender.layout.ConversionPattern=%-5p [%t] %c - %m\n

# Create an appender that prints to a file
log4j.appender.fileAppender=org.apache.log4j.FileAppender
log4j.appender.fileAppender.file=error.log
log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fileAppender.layout.ConversionPattern=%-5p [%t] %c - %m\n
