if(log.isDebugEnabled()) {
if(log.isWarnEnabled()) {
  private static void processOrganizationAssets(Collection orgAssets) {    Logger log = CSMART.createLogger("org.cougaar.tools.csmart.ui.monitor.viewer.CSMARTUL");    communityToAgents = new Hashtable();    agentToCommunity = new Hashtable();    agentToURL = new Hashtable();    for (Iterator i = orgAssets.iterator(); i.hasNext(); ) {      Object o = i.next();      if (!(o instanceof PropertyTree)) {        if(log.isDebugEnabled()) {          log.warn("CSMARTUL: expected PropertyTree, got: " +                    o.getClass());        }	continue;      }      PropertyTree properties = (PropertyTree)o;      String agentName = 	(String)properties.get(PropertyNames.AGENT_NAME);      String communityName = 	(String)properties.get(PropertyNames.AGENT_COMMUNITY_NAME);      agentToCommunity.put(agentName, communityName);      Vector agents = (Vector)communityToAgents.get(communityName);      if (agents == null) {	agents = new Vector();	agents.addElement(agentName);        if(log.isDebugEnabled()) {          log.debug("Adding agent name: " + agentName);        }	communityToAgents.put(communityName, agents);      } else	agents.addElement(agentName);      String url = (String)properties.get(PropertyNames.AGENT_URL);      url = url.substring(0, url.indexOf(ClientServletUtil.COMMUNITY_SERVLET));      agentToURL.put(agentName, url);    }  }