From: Oliver Kurth Date: Wed, 10 Jun 2020 19:05:45 +0000 (-0700) Subject: SDMP plugin logs warning message every 5 minute if there is no X-Git-Tag: stable-11.2.0~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae80317fcbf2026896b9fe5885992d919062d79c;p=thirdparty%2Fopen-vm-tools.git SDMP plugin logs warning message every 5 minute if there is no Namespace DB instance created on a VM. Changing 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 622f5c3f8..086f01180 100644 --- a/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c +++ b/open-vm-tools/services/plugins/serviceDiscovery/serviceDiscovery.c @@ -365,9 +365,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);