Added information config with inotify
[platform/core/connectivity/stc-manager.git] / src / helper / helper-net-cls.c
index ef5e4b3..6be717a 100755 (executable)
@@ -187,7 +187,8 @@ stc_error_e place_pids_to_net_cgroup(const int pid, const char *app_id)
                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);
        }