From: <sc...@hy...> - 2007-10-24 22:54:35
|
Author: scottmf Date: 2007-10-24 15:54:31 -0700 (Wed, 24 Oct 2007) New Revision: 6446 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=6446 Modified: tags/HQ_3_1_1/src/org/hyperic/hq/bizapp/shared/lather/MeasurementSendReport_args.java Log: undo logging change to MeasurementSendReport_args.java Modified: tags/HQ_3_1_1/src/org/hyperic/hq/bizapp/shared/lather/MeasurementSendReport_args.java =================================================================== --- tags/HQ_3_1_1/src/org/hyperic/hq/bizapp/shared/lather/MeasurementSendReport_args.java 2007-10-24 21:43:20 UTC (rev 6445) +++ tags/HQ_3_1_1/src/org/hyperic/hq/bizapp/shared/lather/MeasurementSendReport_args.java 2007-10-24 22:54:31 UTC (rev 6446) @@ -36,16 +36,10 @@ import org.hyperic.hq.measurement.data.ValueList; import org.hyperic.hq.product.MetricValue; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; public class MeasurementSendReport_args extends SecureAgentLatherValue { - private static final String logCtx = - MeasurementSendReport_args.class.getName(); - private final Log _log = LogFactory.getLog(logCtx); - private static final String PROP_CIDLIST = "cids"; private static final String PROP_DSNIDLIST = "dsnidss"; private static final String PROP_TSTAMPLIST = "tstamps"; @@ -126,14 +120,13 @@ throw new LatherRemoteException("Measurement report mismatch"); } - for(int i=0; i<dsnIdList.length; i++) - { - if (_log.isDebugEnabled()) { - _log.debug("Got data point for CID=" + cidList[i] + - " DSN=" + dsnList[i] + - " Value=" + valueList[i] + - " tStamp=" + tStampList[i]); - } + for(int i=0; i<dsnIdList.length; i++){ + /* + System.out.println("Got data point for CID=" + cidList[i] + + " DSN=" + dsnList[i] + + " Value=" + valueList[i] + + " tStamp=" + tStampList[i]); + */ con.addDataPoint(cidList[i], dsnIdList[i], new MetricValue(valueList[i], (long)tStampList[i])); |