optimize Log4J