log.log(Level.ERROR, "error caught processing SLAs", ex); updateServiceHostStats(req.get(0).getServiceHost(), req.size());
com.setString(1, ""); com.setString(2, Utility.truncate(req.getServiceHost(), MAXTEXT)); com.setLong(3, req.getResponseSize()); com.setLong(4, req.getRequestSize()); + req.getURI() + " Action: " + req.getAction() + " Agent: " + req.getAgentType() + " Host: " + req.getServiceHost() + " I'm going to return this as successful, even though it was not."); return true; } else { log.log(Level.ERROR, "Error recording performance data. Data may be lost URL: " + req.getURI() + " Action: " + req.getAction() + " Agent: " + req.getAgentType() + " Host: " + req.getServiceHost(), ex); return false;
successTX++; updateServiceHostStats(req.getServiceHost(), 1); res.setStatus(DataResponseStatus.SUCCESS); try {