From: Jihoon Kim Date: Tue, 26 Mar 2013 03:10:20 +0000 (+0900) Subject: add log in booting time X-Git-Tag: accepted/tizen_2.1/20130425.024739~56^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6bcf03c2307986c670f66b55e36a6a88d3c8ee18;p=platform%2Fcore%2Fuifw%2Fisf.git add log in booting time Change-Id: I3f86243de55d393d255b2bd946ddf780c92a2ec0 --- diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index 7b562a2..91407f9 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -3253,12 +3253,21 @@ static void start_default_ise (void) String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), _initial_ise_uuid); if (!set_active_ise (default_uuid)) { std::cerr << __FUNCTION__ << " Failed to launch default ISE(" << default_uuid << ")\n"; + LOGE ("Failed to launch default ISE (%s)\n", default_uuid.c_str ()); if (default_uuid != _initial_ise_uuid) { std::cerr << __FUNCTION__ << " Launch initial ISE(" << _initial_ise_uuid << ")\n"; - set_active_ise (_initial_ise_uuid); + if (!set_active_ise (_initial_ise_uuid)) { + LOGE ("Failed to launch initial ISE (%s)\n", _initial_ise_uuid.c_str ()); + } + else { + LOGD ("Succeed to launch initial ISE (%s)\n", _initial_ise_uuid.c_str ()); + } } } + else { + LOGD ("Succeed to launch default ISE (%s)\n", default_uuid.c_str ()); + } } /** @@ -3466,6 +3475,7 @@ static bool check_system_ready (void) ret = vconf_get_int (ISF_SYSTEM_APPSERVICE_READY_VCONF, &val); if (ret == 0 && val >= ISF_SYSTEM_APPSERVICE_READY_STATE) { + LOGD ("Appservice was ready\n"); return true; } else { /* Register a call back function for checking system ready */ @@ -3706,13 +3716,19 @@ int main (int argc, char *argv []) if (!check_wm_ready ()) { std::cerr << "[ISF-PANEL-EFL] WM ready timeout\n"; + LOGE ("Window Manager ready timeout\n"); + } + else { + LOGD ("Window Manager is in ready state\n"); } elm_init (argc, argv); check_time ("elm_init"); - if (!efl_create_control_window ()) + if (!efl_create_control_window ()) { + LOGE ("Failed to create control window\n"); goto cleanup; + } efl_get_screen_resolution (_screen_width, _screen_height);