code: private VirtualFile findConfigFile(ResourceRoot resourceRoot) throws DeploymentUnitProcessingException {
          final VirtualFile root = resourceRoot.getRoot();
          // First check META-INF
          VirtualFile file = root.getChild("META-INF");
          VirtualFile result = findConfigFile(file);
          if (result == null) {
              file = root.getChild("WEB-INF/classes");
              result = findConfigFile(file);
          }
          return result;
      }
docs: Finds the configuration file to be used and returns the first one found.
  <p/>
  Preference is for {@literal logging.properties} or {@literal jboss-logging.properties}.
  
  @param resourceRoot the resource to check.
  
  @return the configuration file if found, otherwise {@code null}.
  
  @throws DeploymentUnitProcessingException if an error occurs.