From: Oliver Kurth Date: Mon, 20 Aug 2018 19:48:05 +0000 (-0700) Subject: Add the notification to toolsd about the guest log level change. X-Git-Tag: stable-11.0.0~485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d43d8e05657dbd995914ff646a30d922a5e72d;p=thirdparty%2Fopen-vm-tools.git Add the notification to toolsd about the guest log level change. Consolidated the VIGOR APIs of guestLogEnabled and guestLogLevel, since it is easier for the customers to use just one API to set both. Use the "disable" enum value to disable the guest logging instead of using a separate field and VIGOR API. Now sending a new tools option to the toolsd whenever the guestLogLevel changes. --- diff --git a/open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h b/open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h index f24dc9c62..b884864bf 100644 --- a/open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h +++ b/open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2009-2016 VMware, Inc. All rights reserved. + * Copyright (C) 2009-2018 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -64,6 +64,7 @@ #define TOOLSOPTION_MAP_ROOT_HGFS_SHARE "mapRootHgfsShare" #define TOOLSOPTION_LINK_ROOT_HGFS_SHARE "linkRootHgfsShare" #define TOOLSOPTION_ENABLE_MESSAGE_BUS_TUNNEL "enableMessageBusTunnel" +#define TOOLSOPTION_GUEST_LOG_LEVEL "guestLogLevel" /* * Auto-upgrade commands.