Update log message and level 57/239257/5
authorhj kim <backto.kim@samsung.com>
Thu, 23 Jul 2020 06:54:41 +0000 (15:54 +0900)
committerhj kim <backto.kim@samsung.com>
Fri, 14 Aug 2020 03:07:56 +0000 (12:07 +0900)
Change-Id: Ica94956fb43a43ac76e12ed089c46189f7138058

src/media_folder.c
src/media_info.c

index 04e63bb..4de07d5 100755 (executable)
@@ -342,7 +342,7 @@ int media_folder_insert_to_db(const char *path)
 
                ret = media_svc_set_folder_scan_status(storage_id, repl_path, MEDIA_DIR_SCAN_DONE, false, _content_get_uid());
                if (ret != MS_MEDIA_ERR_NONE) {
-                       content_sec_error("ms_set_folder_scan_status failed : %d", ret);
+                       content_sec_error("media_svc_set_folder_scan_status failed : %d", ret);
                        return _content_error_capi(ret);
                }
        } else if (ret != MS_MEDIA_ERR_NONE) {
index 32c0f0a..53fbf61 100644 (file)
@@ -160,7 +160,7 @@ static int __media_info_insert_batch(const char **path_array,
                        memset(list_path, 0x00, sizeof(list_path));
                        continue;
                } else {
-                       content_debug("The request file list path : %s", list_path);
+                       content_sec_debug("The request file list path : %s", list_path);
                        break;
                }
        }
@@ -172,7 +172,7 @@ static int __media_info_insert_batch(const char **path_array,
 
        fp = fopen(list_path, "w");
        if (fp == NULL) {
-               content_error("failed to open file : [%s]", list_path);
+               content_sec_error("failed to open file : [%s]", list_path);
                content_stderror("failed to open file");
                return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
        }