logging in deploy scripts