Skip to content
Snippets Groups Projects
Commit 98ad8124 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

BugID: 796

Made programs compatible with CodeLoggingProcessor.
parent 111dc8f9
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,8 @@ MACScheduler::MACScheduler() : ...@@ -72,6 +72,8 @@ MACScheduler::MACScheduler() :
{ {
LOG_TRACE_OBJ ("MACscheduler construction"); LOG_TRACE_OBJ ("MACscheduler construction");
LOG_INFO_STR("MACProcessScope:" << globalParameterSet()->getString("prefix"));
// Readin some parameters from the ParameterSet. // Readin some parameters from the ParameterSet.
itsOTDBpollInterval = globalParameterSet()->getTime("OTDBpollInterval"); itsOTDBpollInterval = globalParameterSet()->getTime("OTDBpollInterval");
itsQueuePeriod = globalParameterSet()->getTime("QueuePeriod"); itsQueuePeriod = globalParameterSet()->getTime("QueuePeriod");
......
# new setup # new setup
prefix = LOFAR.PermSW.MACScheduler
OTDBdatabasename = overeem OTDBdatabasename = overeem
OTDBusername = paulus OTDBusername = paulus
OTDBpassword = boskabouter OTDBpassword = boskabouter
......
...@@ -86,6 +86,9 @@ ObservationControl::ObservationControl(const string& cntlrName) : ...@@ -86,6 +86,9 @@ ObservationControl::ObservationControl(const string& cntlrName) :
itsInstanceNr = globalParameterSet()->getUint32("_instanceNr"); itsInstanceNr = globalParameterSet()->getUint32("_instanceNr");
itsHeartBeat = globalParameterSet()->getUint32("heartbeatInterval"); itsHeartBeat = globalParameterSet()->getUint32("heartbeatInterval");
// Inform Logging manager who we are
LOG_INFO_STR("MACProcessScope:" << itsTreePrefix + cntlrName);
// attach to child control task // attach to child control task
itsChildControl = ChildControl::instance(); itsChildControl = ChildControl::instance();
itsChildPort = new GCFITCPort (*this, *itsChildControl, "childITCport", itsChildPort = new GCFITCPort (*this, *itsChildControl, "childITCport",
......
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