1
0
Fork 0

Downgrade two autopilot SG_LOG alerts to warnings

This commit is contained in:
Torsten Dreyer 2010-08-25 20:43:43 +02:00
parent 0d6329e3e7
commit fed62b13dd
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ void Autopilot::add_component( Component * component )
name = buf.str();
}
if( name != component->get_name() )
SG_LOG( SG_ALL, SG_ALERT, "Duplicate autopilot component " << component->get_name() << ", renamed to " << name );
SG_LOG( SG_ALL, SG_WARN, "Duplicate autopilot component " << component->get_name() << ", renamed to " << name );
set_subsystem( name.c_str(), component );
}

View file

@ -112,7 +112,7 @@ void FGXMLAutopilotGroupImplementation::initFrom( SGPropertyNode_ptr rootNode, c
apName = buf.str();
}
if( apName != name )
SG_LOG( SG_ALL, SG_ALERT, "Duplicate property-rule configuration name " << name << ", renamed to " << apName );
SG_LOG( SG_ALL, SG_WARN, "Duplicate property-rule configuration name " << name << ", renamed to " << apName );
}
SGPath config = globals->resolve_maybe_aircraft_path(pathNode->getStringValue());