1
0
Fork 0

Reduce amount of log output at level=debug.

This commit is contained in:
James Turner 2013-09-28 14:47:20 +01:00
parent ff7c280d57
commit 52e5a9abe8
6 changed files with 0 additions and 13 deletions

View 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

View 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()));

View 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

View 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, "" );
}

View 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);

View 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