Remove ISF log when load/unload ISE module
authorHaifeng Deng <haifeng.deng@samsung.com>
Wed, 28 Nov 2012 01:03:56 +0000 (09:03 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 29 Nov 2012 06:30:17 +0000 (15:30 +0900)
Change-Id: Ibcf8943845bfda9e1d3d5e5ed19d26145fdc1f60

ism/src/scim_helper_module.cpp
ism/src/scim_imengine_module.cpp
ism/src/scim_panel_agent.cpp

index 7a9458e..1ba0589 100644 (file)
@@ -57,10 +57,6 @@ HelperModule::HelperModule (const String &name)
 bool
 HelperModule::load (const String &name)
 {
-    char buf[256] = {0};
-    snprintf (buf, sizeof (buf), "time:%ld  pid:%d  %s  %s (%s)\n", time (0), getpid (), __FILE__, __func__, name.c_str ());
-    isf_save_log (buf);
-
     try {
         if (!m_module.load (name, "Helper"))
             return false;
@@ -93,7 +89,7 @@ HelperModule::load (const String &name)
         }
 
         if (m_set_path_info) {
-            m_set_path_info(m_module.get_path().c_str());
+            m_set_path_info (m_module.get_path ().c_str ());
         }
     } catch (...) {
         m_module.unload ();
@@ -110,10 +106,6 @@ HelperModule::load (const String &name)
 bool
 HelperModule::unload ()
 {
-    char buf[256] = {0};
-    snprintf (buf, sizeof (buf), "time:%ld  pid:%d  %s  %s ()\n", time (0), getpid (), __FILE__, __func__);
-    isf_save_log (buf);
-
     return m_module.unload ();
 }
 
index 8bb41d1..384220d 100644 (file)
@@ -50,10 +50,6 @@ IMEngineModule::IMEngineModule (const String &name, const ConfigPointer &config)
 bool
 IMEngineModule::load (const String &name, const ConfigPointer &config)
 {
-    char buf[256] = {0};
-    snprintf (buf, sizeof (buf), "time:%ld  pid:%d  %s  %s (%s)\n", time (0), getpid (), __FILE__, __func__, name.c_str ());
-    isf_save_log (buf);
-
     m_module_name = name;
     try {
         if (!m_module.load (name, "IMEngine"))
@@ -88,10 +84,6 @@ IMEngineModule::load (const String &name, const ConfigPointer &config)
 bool
 IMEngineModule::unload ()
 {
-    char buf[256] = {0};
-    snprintf (buf, sizeof (buf), "time:%ld  pid:%d  %s  %s ()\n", time (0), getpid (), __FILE__, __func__);
-    isf_save_log (buf);
-
     return m_module.unload ();
 }
 
index 4a81e82..c33f37f 100644 (file)
@@ -2869,12 +2869,10 @@ private:
                     if (cmd == SCIM_TRANS_CMD_START_HELPER) {
                         socket_start_helper (client_id, context, uuid);
                         continue;
-                    }
-                    else if (cmd == SCIM_TRANS_CMD_SEND_HELPER_EVENT) {
+                    } else if (cmd == SCIM_TRANS_CMD_SEND_HELPER_EVENT) {
                         socket_send_helper_event (client_id, context, uuid);
                         continue;
-                    }
-                    else if (cmd == SCIM_TRANS_CMD_STOP_HELPER) {
+                    } else if (cmd == SCIM_TRANS_CMD_STOP_HELPER) {
                         socket_stop_helper (client_id, context, uuid);
                         continue;
                     }