# The root logger is assigned priority level DEBUG and an appender named
# myAppender.
log4j.rootLogger=DEBUG,consoleAppender, fileAppender

# The appender's type specified as ConsoleAppender, i.e. log output to
# the Eclipse console. (Could have been FileAppender.)
log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender

# Stdout
# The appender is assigned a layout SimpleLayout. SimpleLayout will
# include only priority level of the log statement and the log statement
# itself in the log output.
log4j.appender.consoleAppender.layout=org.apache.log4j.SimpleLayout

# File
log4j.appender.fileAppenderAppender.file=poker_debug.log
log4j.appender.fileAppender.maxFileSize=1Mb

# Archive log files (one backup file here)
log4j.appender.fileAppender.MaxBackupIndex=1

log4j.appender.myAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout

log4j.appender.consoleAppender.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
log4j.appender.fileAppender.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n