Add logging to deploy task