]> git.mxchange.org Git - flightgear.git/commitdiff
Reduce amount of log output at level=debug.
authorJames Turner <zakalawe@mac.com>
Sat, 28 Sep 2013 13:47:20 +0000 (14:47 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 28 Sep 2013 13:47:20 +0000 (14:47 +0100)
src/AIModel/AICarrier.cxx
src/Input/FGCommonInput.cxx
src/Main/globals.cxx
src/Main/main.cxx
src/Scripting/NasalSys.cxx
src/Time/light.cxx

index 8ebb53dbfdebce659906565b21ed79286d627dc4..fae5d26bc38b91b76ee9028d99b8d091a117ca78 100644 (file)
@@ -497,7 +497,6 @@ bool FGAICarrier::OutsideBox() { //returns true if the carrier is outside operat
             return true;
     }
 
-    SG_LOG(SG_AI, SG_DEBUG, "AICarrier: Inside Operating Box" );
     return false;
 
 } // end OutsideBox
index 1419d2a01411dd51ace4712fe78c8370326e37bd..dc8b1a18ea207cb8e1aa02dd5834432004b4e2bc 100644 (file)
@@ -35,12 +35,10 @@ using std::string;
 
 void FGCommonInput::read_bindings (const SGPropertyNode * node, binding_list_t * binding_list, int modifiers, const string & module )
 {
-  SG_LOG(SG_INPUT, SG_DEBUG, "Reading all bindings");
   PropertyList bindings = node->getChildren("binding");
   static string nasal = "nasal";
   for (unsigned int i = 0; i < bindings.size(); i++) {
     const char *cmd = bindings[i]->getStringValue("command");
-    SG_LOG(SG_INPUT, SG_DEBUG, "Reading binding " << cmd);
     if (nasal.compare(cmd) == 0 && !module.empty())
       bindings[i]->setStringValue("module", module.c_str());
     binding_list[modifiers].push_back(new SGBinding(bindings[i], globals->get_props()));
index 51f202b4960d72f2785ed5498c32a2478f8a8c4f..a6381569ba53a8dac4351deef707c01767b2bd6c 100644 (file)
@@ -85,7 +85,6 @@ public:
         }
         
         if (r.exists()) {
-          SG_LOG(SG_IO, SG_DEBUG, "found path:" << aResource << " via /sim/aircraft-dir: " << r.str());
           return r;
         }
     }
@@ -97,7 +96,6 @@ public:
     for (; it != dirs.end(); ++it) {
       SGPath p(*it, res);
       if (p.exists()) {
-        SG_LOG(SG_IO, SG_DEBUG, "found path:" << aResource << " in aircraft dir: " << *it);
         return p;
       }
     } // of aircraft path iteration
index 175058073e191e5519f74c52a6b3f9d91d3c9293..4ca387e21038f6c6569e2894c73b0d9696fc4150 100644 (file)
@@ -84,9 +84,6 @@ static void fgMainLoop( void )
 {
     frame_signal->fireValueChanged();
 
-    SG_LOG( SG_GENERAL, SG_DEBUG, "Running Main Loop");
-    SG_LOG( SG_GENERAL, SG_DEBUG, "======= ==== ====");
-
     // compute simulated time (allowing for pause, warp, etc) and
     // real elapsed time
     double sim_dt, real_dt;
@@ -96,8 +93,6 @@ static void fgMainLoop( void )
     globals->get_subsystem_mgr()->update(sim_dt);
 
     simgear::AtomicChangeListener::fireChangeListeners();
-
-    SG_LOG( SG_GENERAL, SG_DEBUG, "" );
 }
 
 
index bef2ea5c54d0abdae84bd0c4b8a160ec716885ee..d4c1ae0e25d9ba89594ebefda4b164b89d73ed60 100644 (file)
@@ -1295,7 +1295,6 @@ FGNasalListener::~FGNasalListener()
 void FGNasalListener::call(SGPropertyNode* which, naRef mode)
 {
     if(_active || _dead) return;
-    SG_LOG(SG_NASAL, SG_DEBUG, "trigger listener #" << _id);
     _active++;
     naRef arg[4];
     arg[0] = _nas->propNodeGhost(which);
index ceb17d239b268bbfe1d85ec05c1bdb35a350bcf3..3d59e804a1d4ec7ed250c044dda2c0cf8f0f3b57 100644 (file)
@@ -305,8 +305,6 @@ void FGLight::update_adj_fog_color () {
     double heading_offset = globals->get_current_view()->getHeadingOffset_deg()
                             * SGD_DEGREES_TO_RADIANS;
 
-    SG_LOG( SG_EVENT, SG_DEBUG, "Updating adjusted fog parameters." );
-
     // set fog color (we'll try to match the sunset color in the
     // direction we are looking