Index: source/ariba/utility/system/StartupWrapper.cpp
===================================================================
--- source/ariba/utility/system/StartupWrapper.cpp	(revision 5286)
+++ source/ariba/utility/system/StartupWrapper.cpp	(revision 5289)
@@ -98,5 +98,5 @@
 	{
 		log4cxx::LoggerPtr logger(log4cxx::Logger::getRootLogger());
-		logger->setLevel(log4cxx::Level::getAll());
+		logger->setLevel(log4cxx::Level::getError());
 	}
 
@@ -108,5 +108,5 @@
 	{
 		log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BaseCommunication"));
-		logger->setLevel(log4cxx::Level::getAll());
+		logger->setLevel(log4cxx::Level::getError());
 	}
 
Index: source/ariba/utility/transport/rfcomm/rfcomm.cpp
===================================================================
--- source/ariba/utility/transport/rfcomm/rfcomm.cpp	(revision 5286)
+++ source/ariba/utility/transport/rfcomm/rfcomm.cpp	(revision 5289)
@@ -49,4 +49,13 @@
 	std::deque<link_data> send_buffer;
 };
+
+void rfcomm::remove_info(link_info* info) {
+	for (vector<link_info*>::iterator i = links.begin(); i!=links.end();i++)
+		if (*i==info) {
+			delete info;
+			links.erase(i);
+		}
+}
+
 
 inline bluetooth::rfcomm::endpoint convert( const rfcomm_endpoint& endpoint ) {
@@ -222,6 +231,4 @@
 
 void rfcomm::start_read(link_info* info) {
-	cout << "Waiting for messages..." << endl;
-
 	// start read
 	boost::asio::async_read(info->socket,
@@ -271,5 +278,8 @@
 
 	// ignore errors and wait for all data to be received
-	if (error || bytes != info->size) return;
+	if (error || bytes != info->size) {
+		if (error) remove_info(info);
+		return;
+	}
 
 	cout << "received message of size " << info->size << endl;
@@ -321,5 +331,8 @@
 	// ignore errors and wait for all data to be sent
 	if (error || bytes != (size+4) ) {
-		if (error) cout << "Message sent error" << endl;
+		if (error) {
+			cout << "Message sent error" << endl;
+			remove_info(info);
+		}
 		return;
 	}
Index: source/ariba/utility/transport/rfcomm/rfcomm.hpp
===================================================================
--- source/ariba/utility/transport/rfcomm/rfcomm.hpp	(revision 5286)
+++ source/ariba/utility/transport/rfcomm/rfcomm.hpp	(revision 5289)
@@ -59,4 +59,6 @@
 	void handle_write_data(const error_code& error, size_t bytes,
 		link_info* info, size_t size, uint8_t* buffer );
+
+	void remove_info(link_info* info);
 };
 
