tim@199: # Set root logger level to DEBUG and its only appender to A1.
tim@199: log4j.rootLogger=DEBUG, A1
tim@199: 
tim@199: # A1 is set to be a ConsoleAppender.
tim@199: log4j.appender.A1=org.apache.log4j.ConsoleAppender
tim@199: 
tim@199: # A1 uses PatternLayout.
tim@199: log4j.appender.A1.layout=org.apache.log4j.PatternLayout
tim@199: log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n