From: hj kim Date: Thu, 23 Jul 2020 06:54:41 +0000 (+0900) Subject: Update log message and level X-Git-Tag: accepted/tizen/unified/20200820.034640~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F239257%2F5;p=platform%2Fcore%2Fapi%2Fmedia-content.git Update log message and level Change-Id: Ica94956fb43a43ac76e12ed089c46189f7138058 --- diff --git a/src/media_folder.c b/src/media_folder.c index 04e63bb..4de07d5 100755 --- a/src/media_folder.c +++ b/src/media_folder.c @@ -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) { diff --git a/src/media_info.c b/src/media_info.c index 32c0f0a..53fbf61 100644 --- a/src/media_info.c +++ b/src/media_info.c @@ -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; }