Merge pull request #6487 from Icinga/bugfix/discard-warning-6485

Fix "Discard" message being warning
This commit is contained in:
Michael Friedrich 2018-07-26 09:52:33 +02:00 committed by GitHub
commit 5a8e98213c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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