deploy_extra_log: Move log function to deploy_extra_log.