Fix false LOGE to proper log level 52/291452/2
authorKwanghoon Son <k.son@samsung.com>
Mon, 17 Apr 2023 05:53:50 +0000 (14:53 +0900)
committerKwanghoon Son <k.son@samsung.com>
Tue, 18 Apr 2023 06:08:47 +0000 (15:08 +0900)
Change-Id: I61000853c56f03d6789480567c037960b45a131b
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
mv_common/src/mv_common_c.cpp
mv_machine_learning/inference/src/Inference.cpp

index 9943252dea09b57ea39695e73b0b6507caa408c3..027707cba521ca8b6287045cc3cc9e8a0e35260e 100644 (file)
@@ -576,7 +576,7 @@ int mv_engine_config_get_array_string_attribute_c(mv_engine_config_h engine_cfg,
        int stringSize = 0;
        for (int idx = 0; idx < attributeSize; ++idx) {
                stringSize = attributeValue[idx].size();
-               LOGE("Converting %s with length %d to char*", attributeValue[idx].c_str(), stringSize);
+               LOGI("Converting %s with length %d to char*", attributeValue[idx].c_str(), stringSize);
                (*values)[idx] = (char *) malloc(sizeof(char) * (stringSize + 1));
                if ((*values)[idx] == NULL) {
                        LOGE("Failed to convert string to char*");
index 49afd52a0d73de1ef468c461a7f880075bc96de8..aa9b53ec9fd993bf9a1356cb2f4c32ef17ec3108 100644 (file)
@@ -1443,7 +1443,7 @@ int Inference::getFaceDetectionResults(FaceDetectionResults *results)
                        LOGI("left:%d, top:%d, right:%d, bottom:%d", left, top, right, bottom);
                }
 
-               LOGE("Inference: GetFaceDetectionResults: %d\n", results->number_of_faces);
+               LOGI("Inference: GetFaceDetectionResults: %d\n", results->number_of_faces);
        }
 
        return MEDIA_VISION_ERROR_NONE;