remove past setting of log4j.