mirror of https://github.com/Icinga/icinga2.git
remoting: multicast messages into debug log
This commit is contained in:
parent
29175b1eb3
commit
01a4755333
|
@ -274,7 +274,7 @@ void EndpointManager::SendAnycastMessage(const Endpoint::Ptr& sender,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends an anonymous message to all recipients who have a subscription for the
|
* Sends an anonymous message to all recipients who have a subscription for the
|
||||||
* message#s topic.
|
* message's topic.
|
||||||
*
|
*
|
||||||
* @param message The message.
|
* @param message The message.
|
||||||
*/
|
*/
|
||||||
|
@ -308,6 +308,7 @@ void EndpointManager::SendMulticastMessage(const Endpoint::Ptr& sender,
|
||||||
if (sender == recipient)
|
if (sender == recipient)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Log(LogDebug, "remoting", "Send multicast message using method " + method);
|
||||||
if (recipient->HasSubscription(method))
|
if (recipient->HasSubscription(method))
|
||||||
SendUnicastMessage(sender, recipient, message);
|
SendUnicastMessage(sender, recipient, message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue