From: Jihoon Kim Date: Wed, 3 Jul 2019 07:10:38 +0000 (+0900) Subject: Change log level X-Git-Tag: accepted/tizen/unified/20190708.052525~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bea274dea97cff9cf0a07787147b9f54fb88247;p=platform%2Fcore%2Fuifw%2Fautofill.git Change log level Change-Id: I8c92125befbe304089af06c244197606823cbb01 Signed-off-by: Jihoon Kim --- diff --git a/client/autofill.c b/client/autofill.c index c53c86e..17edcdd 100644 --- a/client/autofill.c +++ b/client/autofill.c @@ -49,7 +49,7 @@ static bool fill_response_item_cb(rpc_port_autofill_response_item_h response_ite rpc_port_autofill_response_item_get_presentation_text(response_items, &presentation_text); rpc_port_autofill_response_item_get_value(response_items, &value); - LOGD("id : %s, presentation text : %s, value : %s", id, presentation_text, value); + SECURE_LOGD("id : %s, presentation text : %s, value : %s", id, presentation_text, value); autofill_fill_response_item_h ritem; @@ -255,7 +255,7 @@ static void __on_disconnected(rpc_port_proxy_AutofillAppPort_h h, void *user_dat static void __on_rejected(rpc_port_proxy_AutofillAppPort_h h, void *user_data) { - LOGI("rejected"); + LOGW("Connection rejected"); autofill_h ah = user_data; @@ -316,7 +316,7 @@ EXPORT_API int autofill_destroy(autofill_h ah) EXPORT_API int autofill_connect(autofill_h ah, autofill_connection_status_changed_cb callback, void *user_data) { - LOGD("autofill connect. handle : %p", ah); + LOGI("autofill connect. handle : %p", ah); int ret; diff --git a/manager/autofill_manager.c b/manager/autofill_manager.c index 4998d0e..9baadc8 100644 --- a/manager/autofill_manager.c +++ b/manager/autofill_manager.c @@ -61,7 +61,7 @@ static void __on_disconnected(rpc_port_proxy_AutofillManagerPort_h h, void *user static void __on_rejected(rpc_port_proxy_AutofillManagerPort_h h, void *user_data) { autofill_manager_h amh = user_data; - LOGI("rejected"); + LOGW("rejected"); if (amh->connection_callback) amh->connection_callback(amh, AUTOFILL_MANAGER_CONNECTION_STATUS_REJECTED, amh->connection_userdata); @@ -72,7 +72,7 @@ EXPORT_API int autofill_manager_create(autofill_manager_h *amh) { int ret; - LOGD("autofill manager initialize"); + LOGI("autofill manager initialize"); if (!amh) { LOGW("[ERROR] Invalid paramater"); @@ -111,7 +111,7 @@ EXPORT_API int autofill_manager_create(autofill_manager_h *amh) EXPORT_API int autofill_manager_destroy(autofill_manager_h amh) { - LOGD("autofill manager deinitialize"); + LOGI("autofill manager deinitialize"); if (!amh) { LOGW("[ERROR] Invalid paramater"); @@ -140,7 +140,7 @@ EXPORT_API int autofill_manager_destroy(autofill_manager_h amh) EXPORT_API int autofill_manager_connect(autofill_manager_h amh, autofill_manager_connection_status_changed_cb callback, void *user_data) { - LOGD("autofill manager connect"); + LOGI("autofill manager connect"); int ret; @@ -179,7 +179,7 @@ EXPORT_API int autofill_manager_connect(autofill_manager_h amh, autofill_manager EXPORT_API int autofill_manager_set_autofill_service(autofill_manager_h amh, const char *app_id) { - LOGD("autofill manager set autofill service"); + LOGI("autofill manager set autofill service. app id : %s", app_id); if (!amh || !app_id) { LOGW("[ERROR] parameter is NULL"); @@ -206,7 +206,7 @@ EXPORT_API int autofill_manager_set_autofill_service(autofill_manager_h amh, con EXPORT_API int autofill_manager_get_autofill_service(autofill_manager_h amh, char **service_app_id) { - LOGD("autofill manager get autofill service"); + LOGI("autofill manager get autofill service"); if (!amh || !service_app_id) { LOGW("[ERROR] parameter is NULL"); @@ -225,7 +225,7 @@ EXPORT_API int autofill_manager_get_autofill_service(autofill_manager_h amh, cha char *app_id = rpc_port_proxy_AutofillManagerPort_invoke_get_autofill_service(amh->rpc_h); if (app_id) { - LOGD("service id : %s", app_id); + LOGI("service id : %s", app_id); *service_app_id = strdup(app_id); free(app_id); return AUTOFILL_ERROR_NONE; diff --git a/service_lib/autofill_service.c b/service_lib/autofill_service.c index ebca4b5..3ddaf7c 100644 --- a/service_lib/autofill_service.c +++ b/service_lib/autofill_service.c @@ -91,7 +91,7 @@ bool __autofill_item_cb(rpc_port_autofill_svc_item_h items, void *user_data) rpc_port_autofill_svc_item_get_value(items, &value); autofill_item_set_value(ai, value); if (value) { - LOGD("value : %s", value); + SECURE_LOGD("value : %s", value); free(value); } @@ -140,7 +140,7 @@ bool __save_item_cb(rpc_port_autofill_svc_save_item_h items, void *user_data) rpc_port_autofill_svc_save_item_get_value(items, &value); autofill_save_item_set_value(ai, value); if (value) { - LOGD("value : %s", value); + SECURE_LOGD("value : %s", value); free(value); } @@ -263,7 +263,7 @@ static void __autofill_commit_cb(rpc_port_stub_AutofillSvcPort_context_h context static void __terminate_received_cb(rpc_port_stub_AutofillSvcPort_context_h context, void *user_data) { - LOGD(""); + LOGI("Receive terminate request"); if (g_autofill_service_terminate_received_cb) g_autofill_service_terminate_received_cb(g_autofill_service_terminate_received_data); @@ -402,7 +402,7 @@ static void __message_unregister(rpc_port_stub_AutofillSvcPort_context_h context EXPORT_API int autofill_service_initialize(void) { - LOGD("autofill service initialize"); + LOGI("autofill service initialize"); int ret; @@ -428,7 +428,7 @@ EXPORT_API int autofill_service_initialize(void) EXPORT_API int autofill_service_deinitialize(void) { - LOGD("autofill service deinitialize"); + LOGI("autofill service deinitialize"); if (__client_list) { g_list_free_full(__client_list, __destroy_client); @@ -556,7 +556,7 @@ bool __fill_response_item_cb(autofill_fill_response_item_h it, void * user_data) autofill_fill_response_item_get_value(it, &value); autofill_fill_response_item_get_presentation_text(it, &presentation_text); - LOGD("it : %p, id : %s, value : %s, presentation text : %s", it, id, value, presentation_text); + SECURE_LOGD("it : %p, id : %s, value : %s, presentation text : %s", it, id, value, presentation_text); rpc_port_autofill_svc_response_item_create(&ritem_h); rpc_port_autofill_svc_response_item_set_id(ritem_h, id);