Replace LogInfo to LogDebug
authorJihoon Chung <jihoon.chung@samsaung.com>
Wed, 17 Jul 2013 02:41:56 +0000 (11:41 +0900)
committerJihoon Chung <jihoon.chung@samsaung.com>
Wed, 17 Jul 2013 02:49:47 +0000 (11:49 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace LogInfo to LogDebug
Platform policy isn't used LogInfo
[SCMRequest] N/A

Change-Id: I903e8bbc629d88c24f523ce48a1d63d923d2258a

17 files changed:
src/Commons/FunctionDeclaration.h
src/js-overlay/js_function_manager.cpp
src/modules/tizen/Networking/Manager.cpp
src/modules/tizen/PluginManager/PluginManager.cpp
src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp
src/plugin-loading/explorer.cpp
src/plugin-loading/javascript_interface.cpp
src/plugin-loading/js_page_session.cpp
src/plugin-loading/plugin.cpp
src/plugin-loading/plugin_container_support.cpp
src/plugin-loading/plugin_logic.cpp
src/plugin-loading/plugin_property_support.cpp
src/plugins-installer/plugin_installer.cpp
src/plugins-installer/wrt_plugins_installer.cpp
src/wrt-popup/wrt/popup-bin/renderer/popup_renderer.cpp
src/wrt-popup/wrt/popup-bin/wrt-popup.cpp
tests/dao/TestInit.cpp

index ee0588e..e707fb9 100644 (file)
@@ -64,7 +64,7 @@ class DevCapFinder
         }                                                                      \
         else                                                                   \
         {                                                                      \
-            LogInfo("Setting dev cap " << dev_cap_name << " param: " <<        \
+            LogDebug("Setting dev cap " << dev_cap_name << " param: " <<        \
                     param.name << " to value " << param.value);                \
             devcapit->devCapParams.push_back(param);                           \
         }                                                                      \
index 388a3f0..222c607 100644 (file)
@@ -80,7 +80,7 @@ const js_entity_definition_ptr_t jsHookPtr = &jsHook;
 
 bool JsFunctionManager::initialize()
 {
-    LogInfo("JSObjectDeclaration for js functions are intialized");
+    LogDebug("JSObjectDeclaration for js functions are intialized");
     JSObjectDeclarationPtr jsPrintObj(
         new JSObjectDeclaration(JavaScriptFunctions::jsPrintPtr));
 
@@ -95,7 +95,7 @@ bool JsFunctionManager::initialize()
 
 JsFunctionManager::Functions JsFunctionManager::getFunctions()
 {
-    LogInfo("get standard js fucntions");
+    LogDebug("get standard js fucntions");
     static bool initialized = initialize();
     (void) initialized;
     return m_functions;
index 0f1e7c0..8416b2c 100644 (file)
@@ -66,7 +66,7 @@ void Manager::getAvailableAdapters(Api::AdaptersSet *retSet) const
 //                           void* data)
 //{
 //  LogDebug("--| ENTER");
-//  LogInfo("Event: " << *event);
+//  LogDebug("Event: " << *event);
 //}
 //
 //void Manager::onNetConnectionOpen(const NetErr_t error,
@@ -90,7 +90,7 @@ void Manager::getAvailableAdapters(Api::AdaptersSet *retSet) const
 //
 //void Manager::onNetStatusChange(NetStatusInfo_t* status, void *userData) {
 //  LogDebug("--| ENTER");
-//  LogInfo("Type: " << status->transportType << ", status: " <<
+//  LogDebug("Type: " << status->transportType << ", status: " <<
 // status->WiFiStatus);
 //}
 
index b4a56a5..6723c29 100644 (file)
@@ -74,7 +74,7 @@ bool PluginManager::hasChild(const string &name) const
 
 bool PluginManager::loadChild(const string &name) const
 {
-    LogInfo("loading " << name);
+    LogDebug("loading " << name);
     string localUri = m_objectUri;
     localUri.append(SEPARATOR).append(name);
 
index f560fdd..35504bf 100644 (file)
@@ -67,7 +67,7 @@ bool WidgetInterfaceDAO::checkDatabase()
     if (stat(databaseFile.c_str(), &buffer) != 0) {
         //Create fresh database
 
-        LogInfo("Creating database " << databaseFile);
+        LogDebug("Creating database " << databaseFile);
 
         std::fstream file;
         file.open(GetWrtWidgetInterfaceDatabaseFilePath(), std::ios_base::in);
index 3b385f6..a87ceee 100644 (file)
@@ -198,7 +198,7 @@ bool Explorer::register_(const JSObjectDeclarationPtr& declaration,
                          JSObjectPtr parent,
                          JSGlobalContextRef context)
 {
-    LogInfo("Registration object: " << declaration->getParentName() <<
+    LogDebug("Registration object: " << declaration->getParentName() <<
             "<-" << declaration->getName());
 
     Assert(parent && "parent object is NULL");
@@ -378,7 +378,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
                     args->state,
                     args->width,
                     args->height));
-        LogInfo("softkeyboard event's state: " << args->state);
+        LogDebug("softkeyboard event's state: " << args->state);
 
         // call js callback function for 'softkeyboardchange' js event on each
         // frame
@@ -398,7 +398,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
                 frame, eventType, eventObject);
         }
     } else {
-        LogInfo("Not supported custom event type");
+        LogDebug("Not supported custom event type");
         return;
     }
 #endif
index 8619404..8b07ec3 100644 (file)
@@ -122,7 +122,7 @@ void JavaScriptInterface::setObjectProperty(JSGlobalContextRef context,
                                             const std::string &propertyName,
                                             const JSObjectPtr& propertyObject)
 {
-    LogInfo("JSObjectSetProperty(" << context << ", \"" << propertyName << "\")");
+    LogDebug("JSObjectSetProperty(" << context << ", \"" << propertyName << "\")");
 
     //create name
     JSStringRef name = JSStringCreateWithUTF8CString(propertyName.c_str());
index 354403e..6c97274 100644 (file)
@@ -163,19 +163,19 @@ JSPageSession::Impl::~Impl()
 
  void JSPageSession::Impl::installStandardFunctions()
  {
-    LogInfo("Installing standard functions...");
+    LogDebug("Installing standard functions...");
 
     //add standard functions
     FOREACH(it, JsFunctionManagerSingleton::Instance().getFunctions()) {
         m_objectExplorer->registerObject(*it, NULL);
     }
 
-    LogInfo("Installing standard functions...[done]");
+    LogDebug("Installing standard functions...[done]");
  }
 
 void JSPageSession::Impl::installRootPlugins()
 {
-    LogInfo("Installing requested root plugins...");
+    LogDebug("Installing requested root plugins...");
 
     PluginContainerSupport::PluginsList rootPlugins =
                     m_pluginsSupport->getRootPlugins();
@@ -184,7 +184,7 @@ void JSPageSession::Impl::installRootPlugins()
         installPlugin(*it);
     }
 
-    LogInfo("Installing requested root plugins...[done]");
+    LogDebug("Installing requested root plugins...[done]");
 }
 
 bool JSPageSession::Impl::installPlugin(PluginModelPtr plugin)
@@ -197,7 +197,7 @@ bool JSPageSession::Impl::installPlugin(PluginModelPtr plugin)
         return false;
     }
 
-    LogInfo("Install Plugin : " << library->GetFileName());
+    LogDebug("Install Plugin : " << library->GetFileName());
 
     // Register new class
     FOREACH(it, *(library->GetClassList()))
@@ -207,13 +207,13 @@ bool JSPageSession::Impl::installPlugin(PluginModelPtr plugin)
         }
     }
 
-    LogInfo("Install Plugin [done]");
+    LogDebug("Install Plugin [done]");
     return true;
 }
 
 void JSPageSession::Impl::installRequestedFeatures()
 {
-    LogInfo("Installing requested widget features...");
+    LogDebug("Installing requested widget features...");
 
     std::list<std::string> allowedFeatures =
         m_pluginsSupport->getAllowedFeatures(m_widgetHandle);
@@ -257,7 +257,7 @@ void JSPageSession::Impl::installRequestedFeatures()
         installPlugin(*plugin);
     }
 
-    LogInfo("requested features installed.");
+    LogDebug("requested features installed.");
 }
 
 bool JSPageSession::Impl::loadPluginOnDemand(
@@ -277,7 +277,7 @@ bool JSPageSession::Impl::loadPluginOnDemand(
     }
     //    //TODO here may be a bug. if plugin contains feature rejected and
     // accepted
-    //    LogInfo("Installing feature : " << widgetFeature.name);
+    //    LogDebug("Installing feature : " << widgetFeature.name);
     //    if (widgetFeature.rejected) {
     //        LogWarning("This api-feature was rejected");
     //        return;
@@ -308,7 +308,7 @@ bool JSPageSession::Impl::installPluginOnDemand(PluginModelPtr plugin,
         return false;
     }
 
-    LogInfo("Install Plugin '" << library->GetFileName());
+    LogDebug("Install Plugin '" << library->GetFileName());
 
     if (!(parentObject.instance)) {
         LogError("NULL pointer value");
@@ -348,7 +348,7 @@ void JSPageSession::Impl::setCustomProperties(double scaleFactor,
                                               const char* encodedBundle,
                                               const char* theme)
 {
-    LogInfo(
+    LogDebug(
         "set properties of window object " << scaleFactor << ", "
                                            << encodedBundle << ", " <<
         theme);
@@ -370,7 +370,7 @@ void JSPageSession::Impl::dispatchJavaScriptEvent(CustomEventType eventType,
         return;
     }
 
-    LogInfo("Request dispatching javascript event");
+    LogDebug("Request dispatching javascript event");
     m_objectExplorer->callEventListeners(eventType, data);
 }
 
@@ -380,7 +380,7 @@ void JSPageSession::Impl::startSession(int widgetHandle,
                                        const char* encodedBundle,
                                        const char* theme)
 {
-    LogInfo("Starting widget session...");
+    LogDebug("Starting widget session...");
 
     // Check if corresponding session if not already created
     if (m_sessionStarted) {
@@ -410,12 +410,12 @@ void JSPageSession::Impl::startSession(int widgetHandle,
     // set scale, bundle as window's property
     setCustomProperties(scaleFactor, encodedBundle, theme);
 
-    LogInfo("Starting widget session...[done]");
+    LogDebug("Starting widget session...[done]");
 }
 
 void JSPageSession::Impl::stopSession()
 {
-    LogInfo("Stopping widget session...");
+    LogDebug("Stopping widget session...");
 
     if (!m_sessionStarted) {
         LogWarning("Session not started!");
@@ -425,7 +425,7 @@ void JSPageSession::Impl::stopSession()
     unloadPluginsFromSession();
     m_sessionStarted = false;
 
-    LogInfo("Widget session stopped.");
+    LogDebug("Widget session stopped.");
 }
 
 void JSPageSession::Impl::unloadPluginsFromSession()
@@ -484,7 +484,7 @@ void JSPageSession::Impl::performLibrariesUnload()
         (*pluginIt)->LibraryInstance.Set(PluginPtr());
     }
 
-    LogInfo("unloaded " << unloadedLibraries << " unreferenced libraries!");
+    LogDebug("unloaded " << unloadedLibraries << " unreferenced libraries!");
 #endif
 }
 
index f3cdb16..27b24a5 100644 (file)
@@ -44,7 +44,7 @@ Plugin::Plugin(const std::string &fileName,
 
 Plugin::~Plugin()
 {
-    LogInfo("Unloading plugin library: " << m_fileName << "...");
+    LogDebug("Unloading plugin library: " << m_fileName << "...");
 
     // Unload library
     if (dlclose(m_libHandle) != 0) {
@@ -145,17 +145,17 @@ PluginPtr Plugin::LoadFromFile(const std::string& fileName)
 
     if (logEnable)
     {
-        LogInfo("#####");
-        LogInfo("##### Plugin: " << fileName << " supports new plugin API");
-        LogInfo("#####");
-        LogInfo("##### $onWidgetStartProc: " << onWidgetStartProcPtr);
-        LogInfo("##### $onWidgetInitProc: " << onWidgetInitProcPtr);
-        LogInfo("##### $onWidgetStopProc " << onWidgetStopProcPtr);
-        LogInfo("##### $onFrameLoadProc " << onFrameLoadProcPtr);
-        LogInfo("##### $onFrameUnloadProc " << onFrameUnloadProcPtr);
-        LogInfo("##### $classMap: " << reinterpret_cast<const void *>(rawClassList));
-        LogInfo("##### ");
-        LogInfo("##### Class map:");
+        LogDebug("#####");
+        LogDebug("##### Plugin: " << fileName << " supports new plugin API");
+        LogDebug("#####");
+        LogDebug("##### $onWidgetStartProc: " << onWidgetStartProcPtr);
+        LogDebug("##### $onWidgetInitProc: " << onWidgetInitProcPtr);
+        LogDebug("##### $onWidgetStopProc " << onWidgetStopProcPtr);
+        LogDebug("##### $onFrameLoadProc " << onFrameLoadProcPtr);
+        LogDebug("##### $onFrameUnloadProc " << onFrameUnloadProcPtr);
+        LogDebug("##### $classMap: " << reinterpret_cast<const void *>(rawClassList));
+        LogDebug("##### ");
+        LogDebug("##### Class map:");
     }
 
     const js_entity_definition_t *rawEntityListIterator = rawClassList;
@@ -168,11 +168,11 @@ PluginPtr Plugin::LoadFromFile(const std::string& fileName)
         if (logEnable)
         {
             // Logging
-            LogInfo("#####");
-            LogInfo("#####     [" << rawEntityListIterator->object_name << "]: ");
-            LogInfo("#####     Interface: " <<
+            LogDebug("#####");
+            LogDebug("#####     [" << rawEntityListIterator->object_name << "]: ");
+            LogDebug("#####     Interface: " <<
                     rawEntityListIterator->interface_name);
-            LogInfo("#####     Parent: " << rawEntityListIterator->parent_name);
+            LogDebug("#####     Parent: " << rawEntityListIterator->parent_name);
         }
 
         // Register class
@@ -208,7 +208,7 @@ void Plugin::OnWidgetStart(int widgetId)
 {
     if (NULL != m_apiOnWidgetStart) {
         (*m_apiOnWidgetStart)(widgetId);
-        LogInfo("Called!");
+        LogDebug("Called!");
     }
 }
 
@@ -217,7 +217,7 @@ void Plugin::OnWidgetInit(feature_mapping_interface_t* mapping)
     Assert(NULL != mapping && "NULL mapping interface provided");
     if (NULL != m_apiOnWidgetInit) {
         (*m_apiOnWidgetInit)(mapping);
-        LogInfo("Called!");
+        LogDebug("Called!");
     }
 }
 
@@ -225,7 +225,7 @@ void Plugin::OnWidgetStop(int widgetId)
 {
     if (NULL != m_apiOnWidgetStop) {
         (*m_apiOnWidgetStop)(widgetId);
-        LogInfo("Called!");
+        LogDebug("Called!");
     }
 }
 
@@ -233,7 +233,7 @@ void Plugin::OnFrameLoad(java_script_context_t context)
 {
     if (NULL != m_apiOnFrameLoad) {
         (*m_apiOnFrameLoad)(context);
-        LogInfo("Called!");
+        LogDebug("Called!");
     }
 }
 
@@ -241,7 +241,7 @@ void Plugin::OnFrameUnload(java_script_context_t context)
 {
     if (NULL != m_apiOnFrameUnload) {
         (*m_apiOnFrameUnload)(context);
-        LogInfo("Called!");
+        LogDebug("Called!");
     }
 }
 
index 13dadd0..0fb1edd 100644 (file)
@@ -63,7 +63,7 @@ std::list<std::string> PluginContainerSupport::getAllowedFeatures(
 
     std::list<std::string> allowedFeatures;
     FOREACH(it, features) {
-        LogInfo("Loading api-feature: " << it->name);
+        LogDebug("Loading api-feature: " << it->name);
         if (it->rejected) {
             LogWarning("Api-feature was rejected by ace. (Api-feature name: "
                        << it->name << ")");
@@ -161,7 +161,7 @@ void PluginContainerSupport::registerPluginModel(DbPluginHandle handle)
 
     model.Reset(new PluginModel(handle));
 
-    LogInfo("Model Created. Handle: " <<
+    LogDebug("Model Created. Handle: " <<
             handle << ", name: " << model->LibraryName.Get());
 
     m_pluginModels.insert(model);
index 1d96e96..c91f309 100644 (file)
@@ -248,7 +248,7 @@ PluginLogic::~PluginLogic()
 
 void PluginLogic::Impl::initSession(int widgetHandle)
 {
-    LogInfo("init pluginLogic...");
+    LogDebug("init pluginLogic...");
 
     m_pluginsSupport->Initialize(widgetHandle);
 
@@ -293,7 +293,7 @@ void PluginLogic::Impl::startSession(int widgetHandle,
                                      const char* encodedBundle,
                                      const char* theme)
 {
-    LogInfo("Starting widget session...");
+    LogDebug("Starting widget session...");
 
     if (!m_pluginsSupport->isInitialized()) {
         m_pluginsSupport->Initialize(widgetHandle);
@@ -318,7 +318,7 @@ void PluginLogic::Impl::startSession(int widgetHandle,
 
 void PluginLogic::Impl::stopSession(JSGlobalContextRef context)
 {
-    LogInfo("Stopping widget session...");
+    LogDebug("Stopping widget session...");
 
     auto sessionIt = m_sessions.find(context);
     if (sessionIt == m_sessions.end()) {
@@ -329,7 +329,7 @@ void PluginLogic::Impl::stopSession(JSGlobalContextRef context)
     sessionIt->second->stopSession();
     m_sessions.erase(sessionIt);
 
-    LogInfo("Widget session stopped.");
+    LogDebug("Widget session stopped.");
 }
 
 bool PluginLogic::Impl::loadPluginOnDemand(
@@ -338,7 +338,7 @@ bool PluginLogic::Impl::loadPluginOnDemand(
     JSGlobalContextRef context
     )
 {
-    LogInfo("Load plugin on demand");
+    LogDebug("Load plugin on demand");
 
     auto sessionIt = m_sessions.find(context);
     if (sessionIt == m_sessions.end()) {
@@ -390,7 +390,7 @@ void PluginLogic::Impl::setCustomProperties(JSGlobalContextRef context,
                                             const char* encodedBundle,
                                             const char* theme)
 {
-    LogInfo(
+    LogDebug(
         "set properties of window object " << scaleFactor << ", "
                                            << encodedBundle << ", " <<
         theme);
index c88f0c2..e1731cd 100644 (file)
@@ -63,7 +63,7 @@ JSGlobalContextRef WindowPropertySupport::getJSContext() const
 
 void WindowPropertySupport::setScaleToNavigatorProperty(const double scale)
 {
-    LogInfo("set window.navigator.scale: " << scale);
+    LogDebug("set window.navigator.scale: " << scale);
 
     m_scale = scale;
 
@@ -73,7 +73,7 @@ void WindowPropertySupport::setScaleToNavigatorProperty(const double scale)
 
 void WindowPropertySupport::setBundleToWindowProperty(const char* bundle)
 {
-    LogInfo("set window.__bundle: " << bundle);
+    LogDebug("set window.__bundle: " << bundle);
 
     if (bundle) {
         m_bundle = bundle;
@@ -89,7 +89,7 @@ void WindowPropertySupport::setBundleToWindowProperty(const char* bundle)
 
 void WindowPropertySupport::setThemeToNavigatorProperty(const char* theme)
 {
-    LogInfo("set window.navigator.__theme: " << theme);
+    LogDebug("set window.navigator.__theme: " << theme);
 
     if (theme) {
         m_theme = theme;
index 68afd5f..44bce08 100644 (file)
@@ -66,11 +66,11 @@ const int PluginsInstaller::INSTALLATION_ERROR = -1;
 PluginsInstaller::PluginsInstaller() :
     m_initialized(false)
 {
-    LogInfo("PluginsInstaller created.");
+    LogDebug("PluginsInstaller created.");
 }
 PluginsInstaller::~PluginsInstaller()
 {
-    LogInfo("PluginsInstaller destroyed.");
+    LogDebug("PluginsInstaller destroyed.");
 }
 
 void PluginsInstaller::checkDatabaseTablesExistance()
@@ -130,13 +130,13 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
         LogError("Plugins installer not initialized.");
         return ReturnStatus::NotInitialized;
     }
-    LogInfo("Plugin installation started. Checking path: " << libPath);
+    LogDebug("Plugin installation started. Checking path: " << libPath);
 
     if (!PluginUtils::checkPath(libPath)) {
         return ReturnStatus::WrongPluginPath;
     }
 
-    LogInfo("Plugin path ok. Searching for config file...");
+    LogDebug("Plugin path ok. Searching for config file...");
 
     std::string metaFileName = libPath + DIRECTORY_SEPARATOR +
         std::string(WrtDB::GlobalConfig::GetPluginMetafileName());
@@ -147,16 +147,16 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
     PluginMetafileData pluginInfo;
     pluginInfo.m_libraryName = getLibraryName(libPath);
 
-    LogInfo(
+    LogDebug(
         "Config file done. Lib name: " << pluginInfo.m_libraryName
                                        <<
         ". Searching for installed plugin...");
 
     if (WrtDB::PluginDAO::isPluginInstalled(pluginInfo.m_libraryName)) {
-        LogInfo("Plugin already installed.");
+        LogDebug("Plugin already installed.");
         return ReturnStatus::AlreadyInstalled;
     }
-    LogInfo("Plugin not installed. Loading library file...");
+    LogDebug("Plugin not installed. Loading library file...");
 
     PluginObjectsPtr libraryObjects;
     PluginHandle pluginHandle;
@@ -177,9 +177,9 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
     }
     libraryObjects = PluginObjectsPtr(new PluginObjects());
 
-    LogInfo("#####");
-    LogInfo("##### Plugin: " << filename << " supports new plugin API");
-    LogInfo("#####");
+    LogDebug("#####");
+    LogDebug("##### Plugin: " << filename << " supports new plugin API");
+    LogDebug("#####");
 
     FOREACH(o, *plugin->GetObjects()) {
         libraryObjects->addObjects(CAST(*o)->GetParentName(),
@@ -197,14 +197,14 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
         return ReturnStatus::LoadingLibraryError;
     }
 
-    LogInfo("Library loaded. Registering plugin...");
+    LogDebug("Library loaded. Registering plugin...");
 
     Try
     {
         pluginHandle =
             PluginDAO::registerPlugin(pluginInfo, libPath);
 
-        LogInfo("Plugin registered. Registering features...");
+        LogDebug("Plugin registered. Registering features...");
 
         FOREACH(it, pluginInfo.m_featureContainer)
         {
@@ -212,11 +212,11 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
             FeatureDAO::RegisterFeature(*it, pluginHandle);
         }
 
-        LogInfo("Features registered. Registering objects...");
+        LogDebug("Features registered. Registering objects...");
 
         registerPluginObjects(pluginHandle, libraryObjects);
 
-        LogInfo("Registration done. Resolving dependencies...");
+        LogDebug("Registration done. Resolving dependencies...");
 
         //TODO: can it be replaced with resolvePluginDependencies(handle)
         if (!registerAndUpdateInstallation(pluginHandle, libraryObjects)) {
@@ -227,14 +227,14 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPlugin(
         return ReturnStatus::DatabaseError;
     }
 
-    LogInfo("Plugin installed successfully.");
+    LogDebug("Plugin installed successfully.");
     return ReturnStatus::Success;
 }
 
 PluginObjectsPtr PluginsInstaller::loadLibraryFromMetafile(
     const std::string& libName) const
 {
-    LogInfo("Loading library: " << libName);
+    LogDebug("Loading library: " << libName);
 
     void *dlHandle = dlopen(libName.c_str(), RTLD_NOW);
     if (dlHandle == NULL) {
@@ -269,16 +269,16 @@ PluginObjectsPtr PluginsInstaller::loadLibraryFromMetafile(
     PluginObjectsPtr libraryObjects = PluginObjectsPtr(new PluginObjects());
     const js_entity_definition_t *rawEntityListIterator = rawEntityList;
 
-    LogInfo("#####");
-    LogInfo("##### Plugin: " << libName << " is using deprecated API");
-    LogInfo("#####");
+    LogDebug("#####");
+    LogDebug("##### Plugin: " << libName << " is using deprecated API");
+    LogDebug("#####");
 
     while (rawEntityListIterator->parent_name != NULL &&
            rawEntityListIterator->object_name != NULL)
     {
-        LogInfo("#####     [" << rawEntityListIterator->object_name << "]: ");
-        LogInfo("#####     Parent: " << rawEntityListIterator->parent_name);
-        LogInfo("#####");
+        LogDebug("#####     [" << rawEntityListIterator->object_name << "]: ");
+        LogDebug("#####     Parent: " << rawEntityListIterator->parent_name);
+        LogDebug("#####");
 
         libraryObjects->addObjects(rawEntityListIterator->parent_name,
                                    rawEntityListIterator->object_name);
@@ -321,7 +321,7 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPluginFromMetafile(
     }
 
     if (WrtDB::PluginDAO::isPluginInstalled(pluginData->m_libraryName)) {
-        LogInfo("Plugin already installed.");
+        LogDebug("Plugin already installed.");
         return ReturnStatus::AlreadyInstalled;
     }
     Try {
@@ -334,7 +334,7 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPluginFromMetafile(
         PluginHandle pluginHandle =
             PluginDAO::registerPlugin(*pluginData, path);
 
-        LogInfo("Plugin registered. Registering features...");
+        LogDebug("Plugin registered. Registering features...");
 
         FOREACH(it, pluginData->m_featureContainer)
         {
@@ -342,11 +342,11 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPluginFromMetafile(
             FeatureDAO::RegisterFeature(*it, pluginHandle);
         }
 
-        LogInfo("Features registered. Registering objects...");
+        LogDebug("Features registered. Registering objects...");
 
         registerPluginObjects(pluginHandle, objects);
 
-        LogInfo("Objects registered. Finishing...");
+        LogDebug("Objects registered. Finishing...");
 
         if (!registerAndUpdateInstallation(pluginHandle, objects)) {
             return ReturnStatus::InstallationWaiting;
@@ -356,7 +356,7 @@ PluginsInstaller::ReturnStatus PluginsInstaller::installPluginFromMetafile(
         return ReturnStatus::DatabaseError;
     }
 
-    LogInfo("Plugin installed successfully.");
+    LogDebug("Plugin installed successfully.");
     return ReturnStatus::Success;
 }
 
@@ -377,7 +377,7 @@ int PluginsInstaller::installAllPlugins()
         return INSTALLATION_ERROR;
     }
 
-    LogInfo("Plugin DIRECTORY IS" << PLUGIN_PATH);
+    LogDebug("Plugin DIRECTORY IS" << PLUGIN_PATH);
     int return_code;
     struct dirent libdir;
     struct dirent* result;
@@ -431,11 +431,11 @@ int PluginsInstaller::installAllPlugins()
     int installedPluginsCount = 0;
     ReturnStatus ret = ReturnStatus::Unknown;
     FOREACH(it, pluginsPaths) {
-        LogInfo("Preparing to plugin installation: " << *it);
+        LogDebug("Preparing to plugin installation: " << *it);
         ret = installPlugin(*it);
         if (ReturnStatus::Success == ret) {
             ++installedPluginsCount;
-            LogInfo("Plugin " << *it << " installed.");
+            LogDebug("Plugin " << *it << " installed.");
         } else if (ReturnStatus::InstallationWaiting == ret) {
             LogWarning("Plugin not installed. Waiting for dependency");
         } else {
@@ -447,7 +447,7 @@ int PluginsInstaller::installAllPlugins()
     printf("\n");
     installedPluginsCount += installWaitingPlugins();
     m_registry.UnloadAll();
-    LogInfo("Installed " << installedPluginsCount
+    LogDebug("Installed " << installedPluginsCount
                          << " plugins of total: " << pluginsPaths.size());
     return installedPluginsCount;
 }
@@ -525,7 +525,7 @@ void PluginsInstaller::registerObjects(const PluginObjectsPtr& libObj,
 PluginsInstaller::OptionalPluginMetafileData PluginsInstaller::parseMetafile(
     const std::string& path) const
 {
-    LogInfo("Plugin Config file::" << path);
+    LogDebug("Plugin Config file::" << path);
     Try
     {
         PluginMetafileData pluginInfo;
index 39a81aa..b1f0ae2 100644 (file)
@@ -27,7 +27,7 @@
 int main(int /*argc*/, char */*argv*/[])
 {
     DPL::Log::LogSystemSingleton::Instance().SetTag("PLUGINS_INSTALLER");
-    LogInfo("Plugins installation started.");
+    LogDebug("Plugins installation started.");
 
     printf("Installing plugins...\n");
     PluginsInstallerSingleton::Instance().initialize();
@@ -36,6 +36,6 @@ int main(int /*argc*/, char */*argv*/[])
     PluginsInstallerSingleton::Instance().deinitialize();
     printf("Completed: %d plugins installed.\n", installed);
 
-    LogInfo("All plugins installed successfuly");
+    LogDebug("All plugins installed successfuly");
     return 0;
 }
index 2f3a872..0703bda 100644 (file)
@@ -106,7 +106,7 @@ class PopupRenderer::Impl
                         void* /*event_info*/,
                         void* data)
     {
-        LogInfo("ButtonCallback");
+        LogDebug("ButtonCallback");
         Assert(m_initialized);
         AnswerCallbackData answerData;
 
@@ -242,7 +242,7 @@ class PopupRenderer::Impl
     EvasObject getBaseObject()
     {
         if (getExternalCanvas() == NULL) {
-            LogInfo("Create old style popup");
+            LogDebug("Create old style popup");
             EvasObject win(elm_win_add(NULL, "Popup", ELM_WIN_DIALOG_BASIC));
             elm_win_borderless_set(win, EINA_TRUE);
             elm_win_alpha_set(win, EINA_TRUE);
@@ -261,7 +261,7 @@ class PopupRenderer::Impl
             evas_object_show(win);
             return win;
         } else {
-            LogInfo("Create new style popup");
+            LogDebug("Create new style popup");
             EvasObject win(getExternalCanvas());
             evas_object_show(win);
             return win;
@@ -331,7 +331,7 @@ class PopupRenderer::Impl
             // show buution
             switch (buttonObjectList.size()) {
             case 0:
-                LogInfo("no button");
+                LogDebug("no button");
                 break;
             case 1:
                 DoRender(buttonObjectList.at(0),
index c1dd04a..41d683d 100644 (file)
@@ -123,7 +123,7 @@ void WrtPopup::response(DPL::BinaryQueue result)
 
 void WrtPopup::OnStop()
 {
-    LogInfo("On Stop");
+    LogDebug("On Stop");
 }
 
 void WrtPopup::OnCreate()
@@ -131,7 +131,7 @@ void WrtPopup::OnCreate()
     if (!openPipes()) {
         PostEvent(QuitEvent());
     }
-    LogInfo("On Create");
+    LogDebug("On Create");
 }
 
 void WrtPopup::OnResume()
index ddea164..be8f54d 100644 (file)
@@ -43,7 +43,7 @@ int main (int argc, char *argv[])
         return -1;
     }
 
-    LogInfo("Starting tests");
+    LogDebug("Starting tests");
 
     WrtDB::WrtDatabase::attachToThreadRW();