From: Kwanghoon Son Date: Mon, 17 Apr 2023 05:53:50 +0000 (+0900) Subject: Fix false LOGE to proper log level X-Git-Tag: accepted/tizen/unified/20230428.155053~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=064d2bb7f5cccd398439ac90f80afd043745cd85;p=platform%2Fcore%2Fapi%2Fmediavision.git Fix false LOGE to proper log level Change-Id: I61000853c56f03d6789480567c037960b45a131b Signed-off-by: Kwanghoon Son --- diff --git a/mv_common/src/mv_common_c.cpp b/mv_common/src/mv_common_c.cpp index 9943252d..027707cb 100644 --- a/mv_common/src/mv_common_c.cpp +++ b/mv_common/src/mv_common_c.cpp @@ -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*"); diff --git a/mv_machine_learning/inference/src/Inference.cpp b/mv_machine_learning/inference/src/Inference.cpp index 49afd52a..aa9b53ec 100644 --- a/mv_machine_learning/inference/src/Inference.cpp +++ b/mv_machine_learning/inference/src/Inference.cpp @@ -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;