Fix "Discard" message being warning

This commit is contained in:
Jean Flach 2018-07-26 09:39:03 +02:00
parent 15a8f87ac1
commit 2b44eff8da

View File

@ -223,7 +223,7 @@ Value ApiListener::ConfigDeleteObjectAPIHandler(const MessageOrigin::Ptr& origin
/* discard messages if the sender is in a child zone */ /* discard messages if the sender is in a child zone */
if (!Zone::GetLocalZone()->IsChildOf(endpoint->GetZone())) { if (!Zone::GetLocalZone()->IsChildOf(endpoint->GetZone())) {
Log(LogWarning, "ApiListener") Log(LogNotice, "ApiListener")
<< "Discarding 'config update object' message from '" << "Discarding 'config update object' message from '"
<< origin->FromClient->GetIdentity() << "'."; << origin->FromClient->GetIdentity() << "'.";
return Empty; return Empty;