# ***** Set root logger level to DEBUG and its only appender to A.
log4j.rootLogger=debug, A

# ***** A is set to be a ConsoleAppender.
log4j.appender.A=org.apache.log4j.ConsoleAppender
# ***** A uses PatternLayout.
log4j.appender.A.layout=org.apache.log4j.PatternLayout
#log4j.appender.A.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
#log4j.appender.A.layout.ConversionPattern=%5p [%C{1}:%M] (%F:%L) - %m%n
log4j.appender.A.layout.ConversionPattern=%5p - %m%n