fix output path for local and distributed mode, remove some log info