1# From the Log4j manual at
2# http://jakarta.apache.org/log4j/docs/manual.html
3# (Just replaced ConsoleAppender by BufferAppender for testing)
4
5log4j.rootLogger=DEBUG, A1
6log4j.appender.A1=Log::Log4perl::Appender::TestBuffer
7log4j.appender.A1.layout=org.apache.log4j.PatternLayout
8
9# Print the date in ISO 8601 format
10log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
11
12# Print only messages of level WARN or above in the package com.foo.
13log4j.logger.com.foo=WARN
14