From: Kwang Son Date: Mon, 1 Feb 2021 08:43:42 +0000 (+0900) Subject: Correct log level X-Git-Tag: accepted/tizen/unified/20210303.220347~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F252671%2F2;p=platform%2Fcore%2Fapi%2Fmediavision.git Correct log level Change-Id: I802bd016c3c0ca20f31bd53f2552c935e8beb1ff Signed-off-by: Kwang Son --- diff --git a/mv_common/src/EngineConfig.cpp b/mv_common/src/EngineConfig.cpp index 566f072..686295d 100644 --- a/mv_common/src/EngineConfig.cpp +++ b/mv_common/src/EngineConfig.cpp @@ -43,7 +43,7 @@ EngineConfig::EngineConfig() DefConfigFilePath = MV_CONFIG_PATH; DefConfigFilePath += MV_ENGINE_CONFIG_FILE_NAME; - LOGE("Default Engine config file location is %s", DefConfigFilePath.c_str()); + LOGI("Default Engine config file location is %s", DefConfigFilePath.c_str()); /* Force load default attributes from configuration file */ cacheDictionaries(false); diff --git a/mv_inference/inference/src/Inference.cpp b/mv_inference/inference/src/Inference.cpp index 0c1de27..d359554 100644 --- a/mv_inference/inference/src/Inference.cpp +++ b/mv_inference/inference/src/Inference.cpp @@ -98,7 +98,7 @@ namespace inference for (int i = 0; i < MV_INFERENCE_BACKEND_MAX; ++i) { auto iter = mSupportedInferenceBackend.find(i); - LOGE("%d: %s: %s", i, (iter->second).first.c_str(), + LOGI("%d: %s: %s", i, (iter->second).first.c_str(), (iter->second).second ? "TRUE" : "FALSE"); } @@ -158,7 +158,7 @@ namespace inference void Inference::CheckSupportedInferenceBackend() { - LOGE("ENTER"); + LOGI("ENTER"); InferenceInI ini; ini.LoadInI(); @@ -166,13 +166,13 @@ namespace inference std::vector supportedBackend = ini.GetSupportedInferenceEngines(); for (std::vector::const_iterator it = supportedBackend.begin(); it != supportedBackend.end(); ++it) { - LOGE("engine: %d", *it); + LOGI("engine: %d", *it); auto iter = mSupportedInferenceBackend.find(*it); (iter->second).second = true; } - LOGE("LEAVE"); + LOGI("LEAVE"); } int Inference::ConvertEngineErrorToVisionError(int error) @@ -1062,7 +1062,7 @@ namespace inference .clone(); } - LOGE("Size: w:%u, h:%u", cvSource.size().width, cvSource.size().height); + LOGI("Size: w:%u, h:%u", cvSource.size().width, cvSource.size().height); if (mCh != 1 && mCh != 3) { LOGE("Channel not supported."); diff --git a/mv_inference/inference/src/InferenceIni.cpp b/mv_inference/inference/src/InferenceIni.cpp index a258cd8..7dc5fa5 100644 --- a/mv_inference/inference/src/InferenceIni.cpp +++ b/mv_inference/inference/src/InferenceIni.cpp @@ -61,7 +61,7 @@ namespace inference int InferenceInI::LoadInI() { - LOGE("ENTER"); + LOGI("ENTER"); dictionary *dict = iniparser_load(mIniDefaultPath.c_str()); if (dict == NULL) { LOGE("Fail to load ini"); @@ -86,7 +86,7 @@ namespace inference dict = NULL; } - LOGE("LEAVE"); + LOGI("LEAVE"); return 0; } diff --git a/mv_inference/inference/src/Posture.cpp b/mv_inference/inference/src/Posture.cpp index cd59464..14c0cec 100644 --- a/mv_inference/inference/src/Posture.cpp +++ b/mv_inference/inference/src/Posture.cpp @@ -234,7 +234,7 @@ int Posture::setPoseFromFile(const std::string motionCaptureFilePath, const std: iter->second.y = height - iter->second.y; - LOGE("(%d, %d)", iter->second.x, iter->second.y); + LOGI("(%d, %d)", iter->second.x, iter->second.y); } ret = getParts((MV_INFERENCE_HUMAN_BODY_PART_HEAD |