path_to_net_cgroup_dir = FOREGROUND_CGROUP_NETWORK;
if (access(child_buf, F_OK)) {
- STC_LOGD("%s of %s is not existed", child_buf, app_id);
+ if (STC_DEBUG_LOG)
+ STC_LOGD("%s of %s is not existed", child_buf, app_id);
return cgroup_write_pid(path_to_net_cgroup_dir, app_id, pid);
}