From: John Wolfe Date: Wed, 19 Aug 2020 17:01:16 +0000 (-0700) Subject: The SDMP plugin generates a warning message every 5 minutes when there is no X-Git-Tag: stable-11.1.5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8019ab746e09b939d929919cebf063751a97612;p=thirdparty%2Fopen-vm-tools.git The SDMP plugin generates a warning message every 5 minutes when there is no Namespace DB instance created on a VM. Change the log level to debug to solve the problem. --- diff --git a/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c b/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c index 87dd58936..c6c2e1dc3 100644 --- a/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c +++ b/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c @@ -381,9 +381,9 @@ ReadData(ToolsAppCtx *ctx, status = SendRpcMessage(ctx, DynBuf_Get(&buf), DynBuf_GetSize(&buf), resultData, resultDataLen); if (!status) { - g_warning("%s: Read over RPC failed, result: %s, resultDataLen: %" FMTSZ - "u\n", __FUNCTION__, (*resultData != NULL) ? - *resultData : "(null)", *resultDataLen); + g_debug("%s: Read over RPC failed, result: %s, resultDataLen: %" FMTSZ + "u\n", __FUNCTION__, (*resultData != NULL) ? + *resultData : "(null)", *resultDataLen); } done: DynBuf_Destroy(&buf);