quiet logging for redbook decoder

This commit is contained in:
mjames-upc 2017-04-04 09:34:21 -06:00
parent fe04d98d58
commit 9605dae755

View file

@ -28,9 +28,7 @@ import com.raytheon.edex.plugin.AbstractDecoder;
import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.PluginDataObject;
import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.PluginException;
import com.raytheon.uf.common.dataplugin.redbook.RedbookRecord; import com.raytheon.uf.common.dataplugin.redbook.RedbookRecord;
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.IUFStatusHandler;
import com.raytheon.uf.common.status.PerformanceStatus;
import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus;
import com.raytheon.uf.common.time.util.ITimer; import com.raytheon.uf.common.time.util.ITimer;
import com.raytheon.uf.common.time.util.TimeUtil; import com.raytheon.uf.common.time.util.TimeUtil;
@ -64,6 +62,7 @@ import com.raytheon.uf.edex.plugin.redbook.decoder.RedbookParser;
* May 14, 2014 2536 bclement moved WMO Header to common * May 14, 2014 2536 bclement moved WMO Header to common
* Oct 24, 2014 3720 mapeters Identify existing records using unique * Oct 24, 2014 3720 mapeters Identify existing records using unique
* constraints instead of dataURI. * constraints instead of dataURI.
* Feb 11, 2017 mjames Remove performance logging
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -105,9 +104,6 @@ public class RedbookDecoder extends AbstractDecoder {
private static final IUFStatusHandler logger = UFStatus private static final IUFStatusHandler logger = UFStatus
.getHandler(RedbookDecoder.class); .getHandler(RedbookDecoder.class);
private final IPerformanceStatusHandler perfLog = PerformanceStatus
.getHandler("Redbook:");
private String traceId = null; private String traceId = null;
/** /**
@ -168,7 +164,6 @@ public class RedbookDecoder extends AbstractDecoder {
} }
} }
timer.stop(); timer.stop();
perfLog.logDuration("Time to Decode", timer.getElapsedTime());
} else { } else {
logger.error(traceId + "- No valid WMO header found in data."); logger.error(traceId + "- No valid WMO header found in data.");
} }