refactor StatLog remove log4j