Fix log4j configuration