[icinga-checkins] icinga.org: icinga2/master: remoting: multicast messages into debug log

git at icinga.org git at icinga.org
Fri Jun 28 21:33:48 CEST 2013


Module: icinga2
Branch: master
Commit: 01a4755333985d5ca4f4ad26ed91cb87f4294bd4
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=01a4755333985d5ca4f4ad26ed91cb87f4294bd4

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Jun 28 19:50:23 2013 +0200

remoting: multicast messages into debug log

---

 lib/remoting/endpointmanager.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/remoting/endpointmanager.cpp b/lib/remoting/endpointmanager.cpp
index af517bf..e49a94e 100644
--- a/lib/remoting/endpointmanager.cpp
+++ b/lib/remoting/endpointmanager.cpp
@@ -274,7 +274,7 @@ void EndpointManager::SendAnycastMessage(const Endpoint::Ptr& sender,
 
 /**
  * Sends an anonymous message to all recipients who have a subscription for the
- * message#s topic.
+ * message's topic.
  *
  * @param message The message.
  */
@@ -308,6 +308,7 @@ void EndpointManager::SendMulticastMessage(const Endpoint::Ptr& sender,
 		if (sender == recipient)
 			continue;
 
+		Log(LogDebug, "remoting", "Send multicast message using method " + method);
 		if (recipient->HasSubscription(method))
 			SendUnicastMessage(sender, recipient, message);
 	}





More information about the icinga-checkins mailing list