Skip to content
Snippets Groups Projects
Commit c5132ba7 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9634: removed some of the needed logging to solve the issue. I left the...

Task #9634: removed some of the needed logging to solve the issue. I left the logging of starttime per observation on, which helps a lot to see what macscheduler is doing
parent 54f74e4c
No related branches found
No related tags found
No related merge requests found
......@@ -624,17 +624,15 @@ void MACScheduler::_doOTDBcheck()
//
void MACScheduler::_updatePlannedList()
{
LOG_INFO("_updatePlannedList()");
LOG_DEBUG("_updatePlannedList()");
// get time info
time_t now = time(0);
ptime currentTime = from_time_t(now);
ASSERTSTR (currentTime != not_a_date_time, "Can't determine systemtime, bailing out");
LOG_INFO_STR("calling getTreeGroup");
// get new list (list is ordered on starttime) of planned observations
vector<OTDBtree> plannedDBlist = itsOTDBconnection->getTreeGroup(1, itsPlannedPeriod, itsExclPLcluster);
LOG_INFO_STR("called getTreeGroup, nr of items in plannedDBlist: " << plannedDBlist.size());
if (!plannedDBlist.empty()) {
LOG_DEBUG(formatString("OTDBCheck:First planned observation (%d) is at %s (active over %d seconds)",
......@@ -724,14 +722,14 @@ void MACScheduler::_updatePlannedList()
// add controller to our 'monitor' administration
itsControllerMap[cntlrName] = obsID;
LOG_INFO_STR("itsControllerMap[" << cntlrName << "]=" << obsID);
LOG_DEBUG_STR("itsControllerMap[" << cntlrName << "]=" << obsID);
if (!itsPreparedObs[obsID].parsetDistributed) {
_setParsetOnMsgBus(observationParset(obsID));
itsPreparedObs[obsID].parsetDistributed = true;
}
}
else {
LOG_INFO_STR("Observation " << obsID << " is already (being) started");
LOG_DEBUG_STR("Observation " << obsID << " is already (being) started");
}
}
}
......
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