fix:unnecesary log

Signed-off-by: langsongping <langsongping1@huawei-partners.com>
This commit is contained in:
langsongping 2024-01-02 07:54:43 +00:00
parent 0b589891e4
commit 117624d93c
2 changed files with 1 additions and 2 deletions

View File

@ -285,7 +285,7 @@ void WatcherManagerKits::RemoteWatcher::OnParameterChange(
void WatcherManagerKits::ParamWatcher::OnParameterChange(const std::string &name, const std::string &value)
{
WATCHER_LOGI("OnParameterChange name %s value %s", name.c_str(), value.c_str());
WATCHER_LOGV("OnParameterChange name %s value %s", name.c_str(), value.c_str());
uint32_t index = 0;
ParameterChangeListener *listener = GetParameterListener(&index);
while (listener != nullptr) {

View File

@ -772,7 +772,6 @@ WatcherGroup::~WatcherGroup(void)
RemoteWatcher::~RemoteWatcher(void)
{
watcher_ = nullptr;
WATCHER_LOGI("RemoteWatcher ");
TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) {
list->RemoveNode(node);
ParamWatcher *watcher = ConvertTo<ParamWatcher>(node);