From: Suyeon Hwang Date: Tue, 13 Dec 2016 08:16:58 +0000 (+0900) Subject: Fix log tag in result cb(LOG_DEBUG -> LOG_INFO) X-Git-Tag: accepted/tizen/common/20161214.161035^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F104384%2F1;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Fix log tag in result cb(LOG_DEBUG -> LOG_INFO) Change-Id: I09e5cf6e5afa0cc60a7217010bcc3347aac3a86b Signed-off-by: Suyeon Hwang --- diff --git a/client/vc.c b/client/vc.c index 537c336..008396c 100644 --- a/client/vc.c +++ b/client/vc.c @@ -1628,7 +1628,7 @@ static Eina_Bool __vc_notify_result(void *data) vc_info_parser_get_result(&temp_text, &event, NULL, getpid(), vc_cmd_list, false); - SLOG(LOG_DEBUG, TAG_VCC, "Result info : result text(%s) event(%d)", temp_text, event); + SLOG(LOG_INFO, TAG_VCC, "Result info : result text(%s) event(%d)", temp_text, event); vc_cmd_print_list(vc_cmd_list); @@ -1636,7 +1636,7 @@ static Eina_Bool __vc_notify_result(void *data) callback(event, vc_cmd_list, temp_text, user_data); vc_client_not_use_callback(g_vc); - SLOG(LOG_DEBUG, TAG_VCC, "Client result callback called"); + SLOG(LOG_INFO, TAG_VCC, "Client result callback called"); vc_cmd_list_destroy(vc_cmd_list, true); diff --git a/client/vc_mgr.c b/client/vc_mgr.c index 4dfe493..791de02 100644 --- a/client/vc_mgr.c +++ b/client/vc_mgr.c @@ -1954,7 +1954,7 @@ static void __vc_mgr_notify_all_result(vc_result_type_e result_type) vc_info_parser_get_result(&temp_text, &event, &temp_message, -1, vc_cmd_list, vc_mgr_client_get_exclusive_command(g_vc_m)); - SLOG(LOG_DEBUG, TAG_VCM, "Result info : result type(%d) result text(%s) event(%d) result_message(%s)", + SLOG(LOG_INFO, TAG_VCM, "Result info : result type(%d) result text(%s) event(%d) result_message(%s)", result_type, temp_text, event, temp_message); vc_cmd_print_list(vc_cmd_list); @@ -2046,14 +2046,14 @@ static Eina_Bool __vc_mgr_notify_result(void *data) vc_info_parser_get_result(&temp_text, &event, NULL, getpid(), vc_cmd_list, false); - SLOG(LOG_DEBUG, TAG_VCM, "Result : result text(%s) event(%d)", temp_text, event); + SLOG(LOG_INFO, TAG_VCM, "Result : result text(%s) event(%d)", temp_text, event); vc_cmd_print_list(vc_cmd_list); vc_mgr_client_use_callback(g_vc_m); callback(event, vc_cmd_list, temp_text, user_data); vc_mgr_client_not_use_callback(g_vc_m); - SLOG(LOG_DEBUG, TAG_VCM, "Result callback called"); + SLOG(LOG_INFO, TAG_VCM, "Result callback called"); vc_cmd_list_destroy(vc_cmd_list, true); diff --git a/client/vc_widget.c b/client/vc_widget.c index fc32ff5..17eb951 100644 --- a/client/vc_widget.c +++ b/client/vc_widget.c @@ -1016,7 +1016,7 @@ static Eina_Bool __vc_widget_notify_result(void *data) vc_info_parser_get_result(&temp_text, &event, NULL, getpid(), vc_cmd_list, false); - SLOG(LOG_DEBUG, TAG_VCW, "Result info : result text(%s) event(%d)", temp_text, event); + SLOG(LOG_INFO, TAG_VCW, "Result info : result text(%s) event(%d)", temp_text, event); vc_cmd_print_list(vc_cmd_list); @@ -1024,7 +1024,7 @@ static Eina_Bool __vc_widget_notify_result(void *data) callback(event, vc_cmd_list, temp_text, user_data); vc_widget_client_not_use_callback(g_vc_w); - SLOG(LOG_DEBUG, TAG_VCW, "Widget result callback called"); + SLOG(LOG_INFO, TAG_VCW, "Widget result callback called"); /* Release result */ if (NULL != temp_text) free(temp_text); diff --git a/server/vcd_server.c b/server/vcd_server.c index 41f225e..7787e21 100644 --- a/server/vcd_server.c +++ b/server/vcd_server.c @@ -451,7 +451,7 @@ static void __vcd_server_result_cb(vcp_result_event_e event, int* result_id, int vc_info_parser_unset_result(vcd_client_manager_get_exclusive()); vcd_client_manager_set_result_text(all_result); - SLOG(LOG_DEBUG, TAG_VCD, "[Server] Event(%d), Text(%s) Nonfixed(%s) Msg(%s) Result count(%d)", + SLOG(LOG_INFO, TAG_VCD, "[Server] Event(%d), Text(%s) Nonfixed(%s) Msg(%s) Result count(%d)", event, all_result, non_fixed_result, msg, count); if (VCD_RECOGNITION_MODE_RESTART_AFTER_REJECT == vcd_client_get_recognition_mode()) { @@ -508,7 +508,7 @@ static void __vcd_server_result_cb(vcp_result_event_e event, int* result_id, int int filtered_count = 0; int top_priority = VC_COMMAND_PRIORITY_BACKGROUND; for (i = 0; i < count; i++) { - SLOG(LOG_DEBUG, TAG_VCD, "[Server] [%d] Result id(%d)", i, result_id[i]); + SLOG(LOG_INFO, TAG_VCD, "[Server] [%d] Result id(%d)", i, result_id[i]); if (0 > result_id[i]) { SLOG(LOG_WARN, TAG_VCD, "[Server WARNING] Result ID(%d) is NOT valid", result_id[i]); @@ -532,7 +532,7 @@ static void __vcd_server_result_cb(vcp_result_event_e event, int* result_id, int int is_action = 0; for (i = 0; i < filtered_count; i++) { - SLOG(LOG_DEBUG, TAG_VCD, "[Server] [%d] Filtered Result id(%d)", i, filtered_id[i]); + SLOG(LOG_INFO, TAG_VCD, "[Server] [%d] Filtered Result id(%d)", i, filtered_id[i]); if (filtered_id[i] < 0) { SLOG(LOG_WARN, TAG_VCD, "[Server WARNING] Filtered ID(%d) is NOT valid", filtered_id[i]); @@ -572,7 +572,7 @@ static void __vcd_server_result_cb(vcp_result_event_e event, int* result_id, int } if (NULL != nlu_result) { - SLOG(LOG_DEBUG, TAG_VCD, "[Server] NLU (%s)", nlu_result); + SLOG(LOG_INFO, TAG_VCD, "[Server] NLU (%s)", nlu_result); vc_info_parser_set_nlu_result(nlu_result); if (0 == is_action) { vc_cmd_h nlu_cmd;