Updating log4j with new memory appender