Add log_deploy_change and _log_event