]> granicus.if.org Git - icinga2/commitdiff
Improve log message for ignored config updates
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 2 Sep 2016 07:35:35 +0000 (09:35 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 2 Sep 2016 07:35:35 +0000 (09:35 +0200)
fixes #12623

lib/remote/apilistener-configsync.cpp

index 23f91e23be42cf32cb0722009ce822d438991b1c..d72fd715b688e399be1993eb3d926a971bdca766 100644 (file)
@@ -71,7 +71,7 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin
 
        if (!listener->GetAcceptConfig()) {
                Log(LogWarning, "ApiListener")
-                   << "Ignoring config update for object '" << objName << "' of type '" << objType << "'. '" << listener->GetName() << "' does not accept config.";
+                   << "Ignoring config update from '" << origin->FromClient->GetIdentity() << "' for object '" << objName << "' of type '" << objType << "'. '" << listener->GetName() << "' does not accept config.";
                return Empty;
        }