[Bugfix][ZXW-320] fix the question of Setting the log output level to 4, and the log data is still increasing

Only Configure :No
Affected branch: master
Affected module: log
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I484f5326b7326c1655473771d42c096a7af2a714
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/binder/liblog/logd_write.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/binder/liblog/logd_write.c
index 5b30e8d..8e86270 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/binder/liblog/logd_write.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/binder/liblog/logd_write.c
@@ -440,7 +440,7 @@
     return LOG_NAME[log_id];
 }
 #endif
-int sys_log_levle = -1;
+int sys_log_levle = 4;
 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr)
 {
 #ifdef HAVE_PTHREADS
@@ -506,7 +506,12 @@
     struct iovec vec[3];
     log_id_t log_id = LOG_ID_MAIN;
     char tmp_tag[32];
-
+/*cz.li add on 2024/7/8 for control RLOGD start*/
+    if(prio < sys_log_levle)
+    {
+        return 0;
+    }
+/*cz.li add on 2024/7/8 for control RLOGD end*/
     if (!tag)
         tag = "";