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