Skip to content
Snippets Groups Projects
Commit fc49a8ea authored by lucasca's avatar lucasca
Browse files

Logs

parent 3e43f357
No related branches found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<seiscomp>
<module name="scpickfilter" category="Processing">
<description>Automatic relocator.</description>
<description>Remove active shots and electronic noise.</description>
<configuration>
<parameter name="pickBufferLength" type="double" unit="sec">
<description>
......
......@@ -441,8 +441,11 @@ private:
SEISCOMP_ERROR("%s: sending of pick failed", pick->publicID().c_str());
}
};
auto droppedCb =
[this](const deque<PickPtr> &picks) { /* nothing to do */ };
auto droppedCb = [this](const deque<PickPtr> &picks) {
SEISCOMP_INFO("Dropped %zu picks: %s ~ %s", picks.size(),
picks.front()->time().value().iso().c_str(),
picks.back()->time().value().iso().c_str());
};
processPicks(acceptedCb, droppedCb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment