deploy with log directory