diff --git a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc index 871b2e4609906370ef71017dffc356af182aa45d..53355f243b10e9c62ed256d1ce4c6add32f6dd2f 100644 --- a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc +++ b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc @@ -72,6 +72,8 @@ MACScheduler::MACScheduler() : { LOG_TRACE_OBJ ("MACscheduler construction"); + LOG_INFO_STR("MACProcessScope:" << globalParameterSet()->getString("prefix")); + // Readin some parameters from the ParameterSet. itsOTDBpollInterval = globalParameterSet()->getTime("OTDBpollInterval"); itsQueuePeriod = globalParameterSet()->getTime("QueuePeriod"); diff --git a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.conf.in b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.conf.in index 34b6540dbdd9bfd4df9d3435fd8c4d111a30c5c7..eaad4f8d4186be9ddf915a1f888076cabd180fbf 100644 --- a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.conf.in +++ b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.conf.in @@ -1,4 +1,6 @@ # new setup +prefix = LOFAR.PermSW.MACScheduler + OTDBdatabasename = overeem OTDBusername = paulus OTDBpassword = boskabouter diff --git a/MAC/APL/MainCU/src/ObservationControl/ObservationControl.cc b/MAC/APL/MainCU/src/ObservationControl/ObservationControl.cc index e2fadbe29c6a41b79f622a91e06358272e0c09f8..2182c62f8606d921c5107473f83b4fd32d5f71ca 100644 --- a/MAC/APL/MainCU/src/ObservationControl/ObservationControl.cc +++ b/MAC/APL/MainCU/src/ObservationControl/ObservationControl.cc @@ -86,6 +86,9 @@ ObservationControl::ObservationControl(const string& cntlrName) : itsInstanceNr = globalParameterSet()->getUint32("_instanceNr"); itsHeartBeat = globalParameterSet()->getUint32("heartbeatInterval"); + // Inform Logging manager who we are + LOG_INFO_STR("MACProcessScope:" << itsTreePrefix + cntlrName); + // attach to child control task itsChildControl = ChildControl::instance(); itsChildPort = new GCFITCPort (*this, *itsChildControl, "childITCport",