From 757849b104ebffe5bce94d6a1173c6c5f05ae47f Mon Sep 17 00:00:00 2001 From: yiguolei Date: Sat, 17 Jan 2026 11:23:58 +0800 Subject: [PATCH] [enhancement](workloadgroup) print path info in workload group modification operation (#59873) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason - Behavior changed: - [ ] No. - [ ] Yes. - Does this need documentation? - [ ] No. - [ ] Yes. ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label --- be/src/agent/cgroup_cpu_ctl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/be/src/agent/cgroup_cpu_ctl.cpp b/be/src/agent/cgroup_cpu_ctl.cpp index 6404bf3fe55cba..ac1c533a5a2f05 100644 --- a/be/src/agent/cgroup_cpu_ctl.cpp +++ b/be/src/agent/cgroup_cpu_ctl.cpp @@ -234,10 +234,11 @@ Status CgroupCpuCtl::write_cg_sys_file(std::string file_path, std::string value, auto str = fmt::format("{}\n", value); ssize_t ret = write(fd, str.c_str(), str.size()); if (ret == -1) { - LOG(ERROR) << msg << " write sys file failed"; - return Status::InternalError("{} write sys file failed", msg); + LOG(ERROR) << msg << " write sys file failed, file_path=" << file_path; + return Status::InternalError("{} write sys file failed, file_path={}", msg, + file_path); } - LOG(INFO) << msg << " success"; + LOG(INFO) << msg << " success, file path: " << file_path; return Status::OK(); }