From 8c20868928b8224d61594ef98e73807e4011182d Mon Sep 17 00:00:00 2001 From: wujianlin Date: Thu, 18 Jan 2024 09:55:44 +0000 Subject: [PATCH] Rectification log.Lower the log level Issue:https://gitee.com/openharmony/commonlibrary_c_utils/issues/I8X9D2?from=project-issue Signed-off-by: wujianlin --- base/src/thread_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/thread_pool.cpp b/base/src/thread_pool.cpp index 9951929..2a2c211 100644 --- a/base/src/thread_pool.cpp +++ b/base/src/thread_pool.cpp @@ -51,7 +51,7 @@ uint32_t ThreadPool::Start(int numThreads) // Give the name of ThreadPool to threads created by the ThreadPool. int err = pthread_setname_np(t.native_handle(), (myName_ + std::to_string(i)).c_str()); if (err != 0) { - UTILS_LOGW("Failed to set name to thread. %{public}s", strerror(err)); + UTILS_LOGD("Failed to set name to thread. %{public}s", strerror(err)); } threads_.push_back(std::move(t)); } -- Gitee