Tizen 2.4.0 rev3 SDK Public Release
[framework/convergence/service/adaptors/storage-adaptor.git] / src / storage-adaptor.c
index 5e123ce..ca40fce 100644 (file)
@@ -1282,7 +1282,7 @@ storage_error_code_t storage_adaptor_refresh_access_token(storage_adaptor_plugin
        if ((NULL == context) || (NULL == new_access_token) || (0 >= strlen(new_access_token))) {
                return STORAGE_ADAPTOR_ERROR_INVALID_ARGUMENT;
        }
-       storage_adaptor_debug_secure("New access token : %s", new_access_token);
+       storage_adaptor_debug("New access token : %s", new_access_token);
 
        free(context->access_token);
        context->access_token = NULL;
@@ -1299,7 +1299,7 @@ storage_error_code_t storage_adaptor_refresh_uid(storage_adaptor_plugin_context_
        if ((NULL == context) || (NULL == new_uid) || (0 >= strlen(new_uid))) {
                return STORAGE_ADAPTOR_ERROR_INVALID_ARGUMENT;
        }
-       storage_adaptor_debug_secure("New uid : %s", new_uid);
+       storage_adaptor_debug("New uid : %s", new_uid);
 
        free(context->uid);
        context->uid = NULL;
@@ -1831,7 +1831,7 @@ storage_error_code_t storage_adaptor_set_server_info(storage_adaptor_plugin_h pl
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s START ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] server_info [addr(%p)]", server_info);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -1894,7 +1894,7 @@ storage_error_code_t storage_adaptor_make_directory(storage_adaptor_plugin_h plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s START ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] folder_name (%s)", folder_name);
@@ -1960,7 +1960,7 @@ storage_error_code_t storage_adaptor_remove_directory(storage_adaptor_plugin_h p
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] folder_name (%s)", folder_name);
@@ -2028,7 +2028,7 @@ storage_error_code_t storage_adaptor_list(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] folder_name (%s)", folder_name);
@@ -2096,7 +2096,7 @@ storage_error_code_t storage_adaptor_upload_file_sync(storage_adaptor_plugin_h p
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2170,7 +2170,7 @@ storage_error_code_t storage_adaptor_download_file_sync(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2221,7 +2221,7 @@ storage_error_code_t storage_adaptor_download_thumbnail(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] folder_path (%s)", folder_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2288,7 +2288,7 @@ storage_error_code_t storage_adaptor_delete_file(storage_adaptor_plugin_h plugin
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2358,7 +2358,7 @@ storage_error_code_t storage_adaptor_move_directory(storage_adaptor_plugin_h plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] folder_name (%s)", folder_name);
@@ -2430,7 +2430,7 @@ storage_error_code_t storage_adaptor_move_file(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2496,7 +2496,7 @@ storage_error_code_t storage_adaptor_get_transfer_state(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -2558,7 +2558,7 @@ storage_error_code_t storage_adaptor_set_transfer_state(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] state(%d)", state);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -2608,7 +2608,7 @@ storage_error_code_t storage_adaptor_get_root_folder_path(storage_adaptor_plugin
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) uid(%s)]",
                        context->app_id, context->access_token, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -2675,7 +2675,7 @@ storage_error_code_t storage_adaptor_upload_file_async(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2735,7 +2735,7 @@ storage_error_code_t storage_adaptor_download_file_async(storage_adaptor_plugin_
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2798,7 +2798,7 @@ storage_error_code_t storage_adaptor_set_meta(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2866,7 +2866,7 @@ storage_error_code_t storage_adaptor_get_meta(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
@@ -2940,7 +2940,7 @@ storage_error_code_t storage_adaptor_start_mupload(storage_adaptor_plugin_h plug
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] file_name (%s)", file_name);
        storage_adaptor_debug_func("[in] chunk_size (%llu)", chunk_size);
@@ -3007,7 +3007,7 @@ storage_error_code_t storage_adaptor_upload_mupload(storage_adaptor_plugin_h plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] mupload_key (%s)", mupload_key);
        storage_adaptor_debug_func("[in] chunk_number (%d)", chunk_number);
@@ -3073,7 +3073,7 @@ storage_error_code_t storage_adaptor_end_mupload(storage_adaptor_plugin_h plugin
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] mupload_key (%s)", mupload_key);
        storage_adaptor_debug_func("[in] publish (%d)", publish);
@@ -3139,7 +3139,7 @@ storage_error_code_t storage_adaptor_list_mupload(storage_adaptor_plugin_h plugi
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] mupload_key (%s)", mupload_key);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -3202,7 +3202,7 @@ storage_error_code_t storage_adaptor_cancel_mupload(storage_adaptor_plugin_h plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] mupload_key (%s)", mupload_key);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -3263,7 +3263,7 @@ storage_error_code_t storage_adaptor_start_transaction(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -3333,7 +3333,7 @@ storage_error_code_t storage_adaptor_upload_file_transaction(storage_adaptor_plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] tx_seq (%d)", tx_seq);
@@ -3407,7 +3407,7 @@ storage_error_code_t storage_adaptor_set_dir_transaction(storage_adaptor_plugin_
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] tx_seq (%d)", tx_seq);
@@ -3480,7 +3480,7 @@ storage_error_code_t storage_adaptor_delete_file_transaction(storage_adaptor_plu
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] tx_seq (%d)", tx_seq);
@@ -3552,7 +3552,7 @@ storage_error_code_t storage_adaptor_delete_dir_transaction(storage_adaptor_plug
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] tx_seq (%d)", tx_seq);
@@ -3622,7 +3622,7 @@ storage_error_code_t storage_adaptor_end_transaction(storage_adaptor_plugin_h pl
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] tx_count (%d)", tx_count);
@@ -3688,7 +3688,7 @@ storage_error_code_t storage_adaptor_list_transaction(storage_adaptor_plugin_h p
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -3753,7 +3753,7 @@ storage_error_code_t storage_adaptor_cancel_transaction(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tx_key (%s)", tx_key);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -3818,7 +3818,7 @@ storage_error_code_t storage_adaptor_multi_file_upload(storage_adaptor_plugin_h
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] upload_list_len (%d)", upload_list_len);
@@ -3887,7 +3887,7 @@ storage_error_code_t storage_adaptor_multi_file_download(storage_adaptor_plugin_
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] download_list_len (%d)", file_name_list_len);
@@ -3951,7 +3951,7 @@ storage_error_code_t storage_adaptor_get_timestamp(storage_adaptor_plugin_h plug
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -4016,7 +4016,7 @@ storage_error_code_t storage_adaptor_get_file_info_by_public_token(storage_adapt
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] public_token (%s)", public_token);
        storage_adaptor_debug_func("[in] auth_code (%s)", auth_code);
@@ -4083,7 +4083,7 @@ storage_error_code_t storage_adaptor_download_file_sync_by_public_token(storage_
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] public_token (%s)", public_token);
        storage_adaptor_debug_func("[in] auth_code (%s)", auth_code);
@@ -4148,7 +4148,7 @@ storage_error_code_t storage_adaptor_download_file_async_by_public_token(storage
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] public_token (%s)", public_token);
        storage_adaptor_debug_func("[in] auth_code (%s)", auth_code);
@@ -4207,7 +4207,7 @@ storage_error_code_t storage_adaptor_auth_public_authcode_by_public_token(storag
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] public_token (%s)", public_token);
        storage_adaptor_debug_func("[in] auth_code (%s)", auth_code);
@@ -4274,7 +4274,7 @@ storage_error_code_t storage_adaptor_delete_multi_file_in_folder(storage_adaptor
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path (%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name_list_len (%d)", file_name_list_len);
@@ -4338,7 +4338,7 @@ storage_error_code_t storage_adaptor_get_policy(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -4400,7 +4400,7 @@ storage_error_code_t storage_adaptor_get_quota(storage_adaptor_plugin_h plugin,
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
 #endif
@@ -4464,7 +4464,7 @@ storage_error_code_t storage_adaptor_redirect_url_by_public_token(storage_adapto
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] public_token (%s)", public_token);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);
@@ -4526,7 +4526,7 @@ storage_error_code_t storage_adaptor_create_resuming_upload_url(storage_adaptor_
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] parent_folder_storage_path(%s)", parent_folder_storage_path);
        storage_adaptor_debug_func("[in] file_name(%s)", file_name);
@@ -4592,7 +4592,7 @@ storage_error_code_t storage_adaptor_create_resuming_chunk_upload_url(storage_ad
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] mupload_key(%s)", mupload_key);
        storage_adaptor_debug_func("[in] chunk_number(%d)", chunk_number);
@@ -4659,7 +4659,7 @@ storage_error_code_t storage_adaptor_resuming_upload(storage_adaptor_plugin_h pl
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] rupload_key(%s)", rupload_key);
        storage_adaptor_debug_func("[in] change_range(%d)", change_range);
@@ -4723,7 +4723,7 @@ storage_error_code_t storage_adaptor_get_transfer_progress(storage_adaptor_plugi
 
 #ifdef DEBUG_ADAPTOR_PARAMS
        storage_adaptor_debug_func("========== %s ==========", __FUNCTION__);
-       storage_adaptor_debug_secure("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
+       storage_adaptor_debug_func("[in] Context [app_id(%s) access_token(%s) cid(%s) uid(%s)]",
                        context->app_id, context->access_token, context->cid, context->uid);
        storage_adaptor_debug_func("[in] tansfer_request_id [addr(%p)]", transfer_request_id);
        storage_adaptor_debug_func("[in] request [addr(%p)]", request);