Correct log level 71/252671/2
authorKwang Son <k.son@samsung.com>
Mon, 1 Feb 2021 08:43:42 +0000 (17:43 +0900)
committerKwang Son <k.son@samsung.com>
Tue, 2 Feb 2021 22:47:42 +0000 (07:47 +0900)
Change-Id: I802bd016c3c0ca20f31bd53f2552c935e8beb1ff
Signed-off-by: Kwang Son <k.son@samsung.com>
mv_common/src/EngineConfig.cpp
mv_inference/inference/src/Inference.cpp
mv_inference/inference/src/InferenceIni.cpp
mv_inference/inference/src/Posture.cpp

index 566f072..686295d 100644 (file)
@@ -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);
index 0c1de27..d359554 100644 (file)
@@ -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<int> supportedBackend = ini.GetSupportedInferenceEngines();
                for (std::vector<int>::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.");
index a258cd8..7dc5fa5 100644 (file)
@@ -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;
        }
 
index cd59464..14c0cec 100644 (file)
@@ -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 |