Shiro code and log4j config