[Orxonox-commit 16] r2731 - in trunk/src: core orxonox/overlays/stats util

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Mar 2 15:07:24 CET 2009


Author: rgrieder
Date: 2009-03-02 15:07:24 +0100 (Mon, 02 Mar 2009)
New Revision: 2731

Modified:
   trunk/src/core/ConfigFileManager.cc
   trunk/src/orxonox/overlays/stats/Scoreboard.cc
   trunk/src/util/SignalHandler.cc
Log:
Removed debug output.

Modified: trunk/src/core/ConfigFileManager.cc
===================================================================
--- trunk/src/core/ConfigFileManager.cc	2009-03-02 13:05:54 UTC (rev 2730)
+++ trunk/src/core/ConfigFileManager.cc	2009-03-02 14:07:24 UTC (rev 2731)
@@ -227,12 +227,10 @@
 
         // Get default file if necessary and available
         boost::filesystem::path filepath(Core::getConfigPath() / this->filename_);
-        COUT(0) << "config filepath: " << filepath.string() << std::endl;
         if (!boost::filesystem::exists(filepath))
         {
             // Try to get default one from the media folder
             boost::filesystem::path defaultFilepath(Core::getMediaPath() / "defaultConfig" / this->filename_);
-            COUT(0) << "default filepath: " << defaultFilepath.string() << std::endl;
             if (boost::filesystem::exists(defaultFilepath))
             {
                 COUT(3) << "Copied " << this->filename_ << " from the defaultConfig folder." << std::endl;

Modified: trunk/src/orxonox/overlays/stats/Scoreboard.cc
===================================================================
--- trunk/src/orxonox/overlays/stats/Scoreboard.cc	2009-03-02 13:05:54 UTC (rev 2730)
+++ trunk/src/orxonox/overlays/stats/Scoreboard.cc	2009-03-02 14:07:24 UTC (rev 2731)
@@ -60,8 +60,6 @@
     void Scoreboard::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     {
         SUPER(Scoreboard, XMLPort, xmlElement, mode);
-
-        COUT(0) << "XMLPort executed." << std::endl;
     }
 
     void Scoreboard::changedVisibility()

Modified: trunk/src/util/SignalHandler.cc
===================================================================
--- trunk/src/util/SignalHandler.cc	2009-03-02 13:05:54 UTC (rev 2730)
+++ trunk/src/util/SignalHandler.cc	2009-03-02 14:07:24 UTC (rev 2731)
@@ -319,10 +319,10 @@
 
       time_t now = time(NULL);
 
-      std::string timeString = "\n\n\n\n"
+      std::string timeString =
                          "=======================================================\n"
                          "= time: " + std::string(ctime(&now)) +
-             "=======================================================\n";
+                         "=======================================================\n";
       bt.insert(0, timeString);
 
       FILE * f = fopen( getInstance().filename.c_str(), "a" );




More information about the Orxonox-commit mailing list