deploy_extra_log: Small refactoring.