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

Bug 1000: Using log4cplus patch2 logging system.

parent 2f1ba314
No related branches found
No related tags found
No related merge requests found
......@@ -31,14 +31,16 @@ int main(int argc, char* argv[])
{
// signal (SIGCHLD, SIG_IGN);
GCFTask::init(argc, argv);
CUDaemons::CTStartDaemon sd(string("StartDaemon")); // give myself a name
GCFTask::init(argc, argv, "StartDaemon");
LOG_INFO("MACProcessScope: LOFAR_PermSW_Daemons_CTStartDaemon");
CUDaemons::CTStartDaemon sd("StartDaemon"); // give myself a name
sd.start(); // make initial transition
GCFTask::run();
return 0;
}
......@@ -32,6 +32,8 @@ int main(int argc, char *argv[])
{
GCFTask::init(argc, argv, "LoggingClient");
// LOG_INFO("MACProcessScope: LOFAR_PermSW_LoggingClient");
LoggingClient LC("LoggingClient");
LC.start(); // make initial transition
......
......@@ -32,9 +32,9 @@ using namespace LOFAR::CUDaemons;
int main(int argc, char *argv[])
{
GCFTask::init(argc, argv);
GCFTask::init(argc, argv, "ServiceBroker");
LOG_INFO("MACProcessScope: GCF.SB");
LOG_INFO("MACProcessScope: LOFAR_PermSW_Daemons_ServiceBroker");
ServiceBroker sb;
......
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