# Log4J Configuration file

################################################################
log4j.rootLogger=INFO, file, console

#################################################################
# Appender file writes to a file
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.File=java-log-output.log
log4j.appender.file.Append=true

# Appender file uses the PatternLayout.
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss} %5r %p [%-7t] [%-15c{1}] %-34C{2} - %m%n
#################################################################
# console is set to be a ConsoleAppender.
log4j.appender.console=org.apache.log4j.ConsoleAppender

# console uses PatternLayout.
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %-20c{1} - %m%n

