code: protected void logResources() throws SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "logResources", _resourcesLogged);
  
          if (!_resourcesLogged) {
              for (int i = 0; i < _resourceObjects.size(); i++) {
                  final JTAResource resource = _resourceObjects.get(i);
  
                  if (resource.getResourceStatus() == StatefulResource.PREPARED) {
                      recordLog(resource);
                  }
              }
  
              _resourcesLogged = true;
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "logResources");
      }
docs: Log any prepared resources