Update log message and level
[platform/core/api/media-content.git] / src / media_info.c
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;
        }