Log4j appender for using in tests