add in the log4j testing codes