Fix log tag in result cb(LOG_DEBUG -> LOG_INFO) 84/104384/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 13 Dec 2016 08:16:58 +0000 (17:16 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 13 Dec 2016 08:16:58 +0000 (17:16 +0900)
Change-Id: I09e5cf6e5afa0cc60a7217010bcc3347aac3a86b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/vc.c
client/vc_mgr.c
client/vc_widget.c
server/vcd_server.c

index 537c336..008396c 100644 (file)
@@ -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);
 
index 4dfe493..791de02 100644 (file)
@@ -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);
 
index fc32ff5..17eb951 100644 (file)
@@ -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);
index 41f225e..7787e21 100644 (file)
@@ -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;