docs: protected void logRegistration(Set<String> deploymentIds, ProcessApplicationReference reference) {
  
      if (!LOG.isInfoEnabled()) {
        // building the log message is expensive (db queries) so we avoid it if we can
        return;
      }
  
      try {
        StringBuilder builder = new StringBuilder();
        builder.append("ProcessApplication '");
        builder.append(reference.getName());
        builder.append("' registered for DB deployments ");
        builder.append(deploymentIds);
        builder.append(". ");
  
        List<ProcessDefinition> processDefinitions = new ArrayList<ProcessDefinition>();
        List<CaseDefinition> caseDefinitions = new ArrayList<CaseDefinition>();
  
        CommandContext commandContext = Context.getCommandContext();
        ProcessEngineConfigurationImpl processEngineConfiguration = Context.getProcessEngineConfiguration();
        boolean cmmnEnabled = processEngineConfiguration.isCmmnEnabled();
  
        for (String deploymentId : deploymentIds) {
  
          DeploymentEntity deployment = commandContext
            .getDbEntityManager()
            .selectById(DeploymentEntity.class, deploymentId);
  
          if(deployment != null) {
  
            processDefinitions.addAll(getDeployedProcessDefinitionArtifacts(deployment));
  
            if (cmmnEnabled) {
              caseDefinitions.addAll(getDeployedCaseDefinitionArtifacts(deployment));
            }
  
          }
        }
  
        logProcessDefinitionRegistrations(builder, processDefinitions);
  
        if (cmmnEnabled) {
          logCaseDefinitionRegistrations(builder, caseDefinitions);
        }
  
        LOG.registrationSummary(builder.toString());
  
      }
      catch(Throwable e) {
        LOG.exceptionWhileLoggingRegistrationSummary(e);
      }
    }