Separate debug log with info config
[platform/core/connectivity/stc-manager.git] / src / database / tables / table-statistics.c
old mode 100644 (file)
new mode 100755 (executable)
index 5983ad7..f8db77b
@@ -621,7 +621,7 @@ stc_error_e table_statistics_insert(stc_db_classid_iftype_key *stat_key,
                goto handle_error; //LCOV_EXCL_LINE
        }
 
-       if (STC_DEBUG_LOG)
+       if (STC_DEBUG_LOG && STC_STAT_LOG)
                STC_LOGD("App stat recorded [\033[0;34m%s\033[0;m] "
                        "rcv[%lld] snd[%lld]", stat->app_id, rcv, snd);