Log4j memory appender