From 1ebe8125f129e31dc8623eb5db7848b15f57024b Mon Sep 17 00:00:00 2001 From: hj kim Date: Thu, 23 Jul 2020 15:54:41 +0900 Subject: [PATCH] Update log message and level Change-Id: Ica94956fb43a43ac76e12ed089c46189f7138058 --- src/media_folder.c | 2 +- src/media_info.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.7.4