Remove error log for reading classid from cgroup
[platform/core/connectivity/stc-manager.git] / include / stc-manager-util.h
old mode 100644 (file)
new mode 100755 (executable)
index 2275b85..b12fff9
@@ -274,7 +274,8 @@ static inline bool strstart_with(const char *str, const char *with)
 
 #define ret_value_errno_msg_if(expr, val, fmt, arg...) do { \
        if (expr) {                                         \
-               STC_LOGE(fmt, ##arg);                       \
+               if (STC_DEBUG_LOG)                          \
+                       STC_LOGE(fmt, ##arg);                       \
                return val;                                 \
        }                                                   \
 } while (0)