[Feature][T8TSK-326]Optimize RIL framework LOG
Only Configure: No
Affected branch: master
Affected module: RIL
Is it affected on both ZXIC and MTK: both
Self-test: Yes
Doc Update: No
Change-Id: I8c81d94978b44cac8dc3f44860ddd395d78e85db
diff --git a/common_src/framework/lynq-ril-service/src/ril.cpp b/common_src/framework/lynq-ril-service/src/ril.cpp
index bf24c67..d247e27 100755
--- a/common_src/framework/lynq-ril-service/src/ril.cpp
+++ b/common_src/framework/lynq-ril-service/src/ril.cpp
@@ -4441,7 +4441,7 @@
if (e != RIL_E_SUCCESS) {
appendPrintBuf("%s fails by %s", printBuf, failCauseToString(e));
}
-
+#if 0 //hong.liu remove printf start on 2024.3.23
if ((pRI->token & RIL_TOKEN_MARK) == RIL_TOKEN_MARK) {
printf("%s\n", printBuf ? printBuf : "unkonwn");
} else if (((pRI->pCI->requestNumber == RIL_REQUEST_DEVICE_IDENTITY)
@@ -4450,12 +4450,13 @@
printf("%s\n", printBuf ? printBuf : "unkonwn");
if (pRI->pCI->requestNumber == RIL_REQUEST_DEVICE_IDENTITY) {
if (e != RIL_E_SUCCESS) {
- printf(
+ RLOGE(
"*******************************************\n*** NOTICE: IMEI don't wirite in slot%d ***\n*******************************************\n",
socket_id);
}
}
}
+#endif //hong.liu remove printf end on 2024.3.23
#if 0
if (fd < 0) {
@@ -6196,7 +6197,6 @@
continue;
}
}
- printf("argc =%d\n",argc);
argc = argc+1;
for(int t = 0;t<argc;t++)
{