fix log4j conf and redis conf