pare down grib logging
This commit is contained in:
parent
cbbbfec80e
commit
82a7a60f0d
3 changed files with 6 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
|||
</appender>
|
||||
|
||||
<!-- Performance log -->
|
||||
<!--
|
||||
<appender name="PerformanceLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>performance</name>
|
||||
|
@ -20,4 +21,5 @@
|
|||
<appender name="PerformanceLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="PerformanceLog" />
|
||||
</appender>
|
||||
-->
|
||||
</included>
|
||||
|
|
|
@ -27,9 +27,7 @@ import org.apache.camel.Processor;
|
|||
import com.raytheon.edex.plugin.grib.exception.GribException;
|
||||
import com.raytheon.uf.common.dataplugin.grid.GridRecord;
|
||||
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
|
||||
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.time.util.ITimer;
|
||||
import com.raytheon.uf.common.time.util.TimeUtil;
|
||||
|
||||
|
@ -48,6 +46,7 @@ import com.raytheon.uf.common.time.util.TimeUtil;
|
|||
* Oct 07, 2013 2402 bsteffen Decode GribDecodeMessage instead of
|
||||
* files.
|
||||
* Sep 14, 2015 4868 rjpeter Added logging of file being decoded.
|
||||
* Aug 03, 2016 ---- mjames Removed logging.
|
||||
* </pre>
|
||||
*
|
||||
* @author njensen
|
||||
|
@ -59,9 +58,6 @@ public class GribDecoder implements Processor {
|
|||
private final IPerformanceStatusHandler perfLog = PerformanceStatus
|
||||
.getHandler("");
|
||||
|
||||
private final IUFStatusHandler statusHandler = UFStatus
|
||||
.getHandler(GribDecoder.class);
|
||||
|
||||
/**
|
||||
* @see org.apache.camel.Processor.process(Exchange)
|
||||
*/
|
||||
|
@ -72,7 +68,6 @@ public class GribDecoder implements Processor {
|
|||
.getBody();
|
||||
byte gribEdition = inMessage.getGribEdition();
|
||||
exchange.getIn().setHeader("dataType", "grib" + gribEdition);
|
||||
statusHandler.info("Decoding file: " + inMessage.getFileName());
|
||||
|
||||
ITimer timer = TimeUtil.getTimer();
|
||||
GridRecord[] records = null;
|
||||
|
|
|
@ -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,6 +460,7 @@ public class GridPersister implements IContextStateProcessor {
|
|||
gridsLeftToProcess = !gridsByFile.isEmpty();
|
||||
}
|
||||
|
||||
/*
|
||||
statusHandler.info(String.format(logMsg, numRecords,
|
||||
SizeUtil.prettyByteSize(persistSet
|
||||
.getSizeInBytes()), TimeUtil
|
||||
|
@ -467,6 +469,7 @@ public class GridPersister implements IContextStateProcessor {
|
|||
.prettyByteSize(localBytesInProcess),
|
||||
localGridsPending, SizeUtil
|
||||
.prettyByteSize(localBytesPending)));
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue