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
|
||||
* 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue