mute performance logging in gridpersister, obs/sfcobs decoders
This commit is contained in:
parent
67a8a7b764
commit
8a76ffc95a
3 changed files with 3 additions and 20 deletions
|
@ -52,6 +52,7 @@ import com.raytheon.uf.edex.database.plugin.PluginFactory;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Sep 10, 2015 4868 rjpeter Initial creation
|
||||
* Aug 03, 2016 ---- mjames Log less
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -459,14 +460,6 @@ public class GridPersister implements IContextStateProcessor {
|
|||
gridsLeftToProcess = !gridsByFile.isEmpty();
|
||||
}
|
||||
|
||||
statusHandler.info(String.format(logMsg, numRecords,
|
||||
SizeUtil.prettyByteSize(persistSet
|
||||
.getSizeInBytes()), TimeUtil
|
||||
.prettyDuration(timeToStore), file,
|
||||
localGridsInProcess, SizeUtil
|
||||
.prettyByteSize(localBytesInProcess),
|
||||
localGridsPending, SizeUtil
|
||||
.prettyByteSize(localBytesPending)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,8 +28,6 @@ import com.raytheon.edex.exception.DecoderException;
|
|||
import com.raytheon.edex.plugin.AbstractDecoder;
|
||||
import com.raytheon.edex.plugin.obs.metar.MetarDecoder;
|
||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
||||
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
|
||||
import com.raytheon.uf.common.status.PerformanceStatus;
|
||||
import com.raytheon.uf.common.time.util.ITimer;
|
||||
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||
import com.raytheon.uf.common.wmo.WMOHeader;
|
||||
|
@ -57,6 +55,7 @@ import com.raytheon.uf.common.wmo.WMOHeader;
|
|||
* Oct 23, 2013 2361 njensen Removed dead mesowest code
|
||||
* May 14, 2014 2536 bclement moved WMO Header to common
|
||||
* Dec 15, 2015 5166 kbisanz Update logging to use SLF4J
|
||||
* Apr 04, 2017 mjames Remove performance logging
|
||||
* </pre>
|
||||
*
|
||||
* @author bphillip
|
||||
|
@ -66,9 +65,6 @@ public class ObsDecoder extends AbstractDecoder {
|
|||
/** The logger */
|
||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
private final IPerformanceStatusHandler perfLog = PerformanceStatus
|
||||
.getHandler("Obs:");
|
||||
|
||||
private String traceId = null;
|
||||
|
||||
/**
|
||||
|
@ -98,7 +94,6 @@ public class ObsDecoder extends AbstractDecoder {
|
|||
}
|
||||
}
|
||||
timer.stop();
|
||||
perfLog.logDuration("Time to Decode", timer.getElapsedTime());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error(traceId + "- Error in ObsDecoder", e);
|
||||
|
|
|
@ -34,8 +34,6 @@ import com.raytheon.edex.plugin.sfcobs.decoder.ISfcObsDecoder;
|
|||
import com.raytheon.edex.plugin.sfcobs.decoder.SfcObsDecoderFactory;
|
||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
||||
import com.raytheon.uf.common.dataplugin.sfcobs.ObsCommon;
|
||||
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
|
||||
import com.raytheon.uf.common.status.PerformanceStatus;
|
||||
import com.raytheon.uf.common.time.util.ITimer;
|
||||
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||
import com.raytheon.uf.common.wmo.WMOHeader;
|
||||
|
@ -74,6 +72,7 @@ import com.raytheon.uf.edex.decodertools.core.DecoderTools;
|
|||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||
* Dec 17, 2015 5166 kbisanz Update logging to use SLF4J
|
||||
* Apr 04, 2017 mjames Remove performance logging
|
||||
* </pre>
|
||||
*
|
||||
* @author jkorman
|
||||
|
@ -85,9 +84,6 @@ public class SfcObsDecoder extends AbstractDecoder {
|
|||
// Name of the plugin controlling this decoder.
|
||||
public static final String PLUGIN_NAME = "sfcobs";
|
||||
|
||||
private final IPerformanceStatusHandler perfLog = PerformanceStatus
|
||||
.getHandler("SfcObs:");
|
||||
|
||||
/** The logger */
|
||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
|
@ -178,7 +174,6 @@ public class SfcObsDecoder extends AbstractDecoder {
|
|||
}
|
||||
}
|
||||
timer.stop();
|
||||
perfLog.logDuration("Time to Decode", timer.getElapsedTime());
|
||||
return retVal.toArray(new PluginDataObject[retVal.size()]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue