mute logging in ModelSoundingPersistenceManager

This commit is contained in:
Michael James 2018-07-17 15:15:05 -06:00
parent 5f4de0e106
commit 4c91e73c38

View file

@ -130,8 +130,6 @@ public class ModelSoundingPersistenceManager implements IContextStateProcessor {
} }
if (container != null) { if (container != null) {
ITimer timer = TimeUtil.getTimer();
timer.start();
List<PluginDataObject> pdoList = container.getPdos(); List<PluginDataObject> pdoList = container.getPdos();
if ((pdoList != null) && !pdoList.isEmpty()) { if ((pdoList != null) && !pdoList.isEmpty()) {
PluginDataObject[] pdos = pdoList PluginDataObject[] pdos = pdoList
@ -139,11 +137,6 @@ public class ModelSoundingPersistenceManager implements IContextStateProcessor {
try { try {
EDEXUtil.getMessageProducer().sendSync( EDEXUtil.getMessageProducer().sendSync(
"modelSoundingPersistIndexAlert", pdos); "modelSoundingPersistIndexAlert", pdos);
timer.stop();
logger.info("Stored container: "
+ container.getKey() + ", size: "
+ container.size() + ", in "
+ timer.getElapsedTime() + "ms");
} catch (EdexException e) { } catch (EdexException e) {
logger.error("Failed to persist " + pdos.length logger.error("Failed to persist " + pdos.length
+ " PluginDataObject(s) for key: " + " PluginDataObject(s) for key: "