Add logging to deployment