Index: /source/ariba/utility/system/SystemQueue.cpp
===================================================================
--- /source/ariba/utility/system/SystemQueue.cpp	(revision 4712)
+++ /source/ariba/utility/system/SystemQueue.cpp	(revision 4721)
@@ -133,4 +133,5 @@
 void SystemQueue::QueueThread::run(){
 	running = true;
+
 	queueThread = new boost::thread(
 		boost::bind(&QueueThread::threadFunc, this) );
@@ -139,10 +140,12 @@
 void SystemQueue::QueueThread::cancel(){
 
+	logging_debug("cancelling system queue");
+
 	// cause the thread to exit
 	{
-		// get the lock, when we got the lock the 
+		// get the lock, when we got the lock the
 		// queue thread must be in itemsAvailable.wait()
 		boost::mutex::scoped_lock lock(queueMutex);
-		
+
 		// set the running indicator and signal to run on
 		// this will run the thread and quit it
@@ -152,7 +155,9 @@
 
 	// wait until the thread has exited
+	logging_debug("joining system queue thread");
 	queueThread->join();
 
 	// delete pending events
+	logging_debug("deleting pending system queue events");
 	while( eventsQueue.size() > 0 ){
 		eventsQueue.erase( eventsQueue.begin() );
