Fix log level 07/177707/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 3 May 2018 06:19:20 +0000 (15:19 +0900)
committerhyunho <hhstark.kang@samsung.com>
Thu, 3 May 2018 06:42:13 +0000 (15:42 +0900)
Change-Id: Ic77799753a58c49330229eab4580f989fba4d29f
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/widget_instance.c

index bb79433ad8c3233d9843aae4843771657acee884..4430ef79544ee0e7470ab6feb8b61b22e5b7cc69 100644 (file)
@@ -750,7 +750,7 @@ static int __status_handler(const char *endpoint, aul_app_com_result_e e, bundle
 
        if (*status == AUL_WIDGET_LIFE_CYCLE_EVENT_APP_DEAD &&
                        is_faulted && !strcmp(is_faulted, "true")) {
-               _D("handle dead widget instances");
+               LOGW("handle dead widget instances, %s", instance_id);
                __fault_handler(sender_pid);
        }
 
@@ -860,12 +860,12 @@ static int __widget_handler(const char *viewer_id, aul_app_com_result_e e, bundl
        bundle_get_byte(envelope, AUL_K_WIDGET_STATUS, (void **)&status, &status_sz);
 
        if (widget_id == NULL) {
-               _E("undefined widget_id %s", widget_id);
+               LOGE("undefined widget_id %s", widget_id);
                return 0;
        }
 
        if (*status == WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST) {
-               _D("WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST notify");
+               LOGW("WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST notify");
                bundle_get_str(envelope, AUL_K_COM_SENDER_PID, &sender_pid_str);
                sender_pid = atoi(sender_pid_str);
                ret = __check_valid_sender(widget_id, sender_pid);