Configure log4j