add cache and log4j2