From f4199ed706270502c2a2db35d6fd5c39a2780d81 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Tue, 23 Aug 2011 23:59:09 +0100 Subject: [PATCH] Remove logging spam --- src/UpdateInstaller.cpp | 2 -- src/UpdateScript.cpp | 4 ---- src/main.cpp | 1 - 3 files changed, 7 deletions(-) diff --git a/src/UpdateInstaller.cpp b/src/UpdateInstaller.cpp index 7726cae..e0c152c 100644 --- a/src/UpdateInstaller.cpp +++ b/src/UpdateInstaller.cpp @@ -70,7 +70,6 @@ void UpdateInstaller::run() throw () if (m_mode == Setup) { - LOG(Info,"Preparing update installation"); LOG(Info,"Waiting for main app process to finish"); ProcessUtils::waitForProcess(m_waitPid); @@ -309,7 +308,6 @@ void UpdateInstaller::setObserver(UpdateObserver* observer) void UpdateInstaller::restartMainApp() { - LOG(Info,"restarting main app"); std::string command; std::list args; diff --git a/src/UpdateScript.cpp b/src/UpdateScript.cpp index 49d2868..ac4379c 100644 --- a/src/UpdateScript.cpp +++ b/src/UpdateScript.cpp @@ -47,7 +47,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode) m_dependencies.push_back(std::string(depFileNode->GetText())); depFileNode = depFileNode->NextSiblingElement("file"); } - LOG(Info,"Dependency count " + intToStr(m_dependencies.size())); const TiXmlElement* installNode = updateNode->FirstChildElement("install"); if (installNode) @@ -58,7 +57,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode) m_filesToInstall.push_back(parseFile(installFileNode)); installFileNode = installFileNode->NextSiblingElement("file"); } - LOG(Info,"Files to install count " + intToStr(m_filesToInstall.size())); } const TiXmlElement* uninstallNode = updateNode->FirstChildElement("uninstall"); @@ -70,7 +68,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode) m_filesToUninstall.push_back(uninstallFileNode->GetText()); uninstallFileNode = uninstallFileNode->NextSiblingElement("file"); } - LOG(Info,"Files to uninstall count " + intToStr(m_filesToUninstall.size())); } const TiXmlElement* packagesNode = updateNode->FirstChildElement("packages"); @@ -82,7 +79,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode) m_packages.push_back(parsePackage(packageNode)); packageNode = packageNode->NextSiblingElement("package"); } - LOG(Info,"Package count " + intToStr(m_packages.size())); } } diff --git a/src/main.cpp b/src/main.cpp index 2dbe4d2..7e2892f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -69,7 +69,6 @@ int main(int argc, char** argv) void runWithUi(int argc, char** argv, UpdateInstaller* installer) { #ifdef ENABLE_GTK - LOG(Info,"setting up GTK UI"); UpdateDialogGtk dialog; installer->setObserver(&dialog); dialog.init(argc,argv);