1
0
Fork 0

Move some warnings to Dev-mode

These are autopilot XML issues, so not useful for regular users.
This commit is contained in:
Automatic Release Builder 2020-09-24 21:53:23 +01:00 committed by James Turner
parent c564c667df
commit 063d7bf53f
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@ void Autopilot::add_component( Component * component, double updateInterval )
name = buf.str();
}
if( name != component->subsystemId() )
SG_LOG( SG_AUTOPILOT, SG_WARN, "Duplicate autopilot component " << component->subsystemId() << ", renamed to " << name );
SG_LOG( SG_AUTOPILOT, SG_DEV_WARN, "Duplicate autopilot component " << component->subsystemId() << ", renamed to " << name );
set_subsystem( name.c_str(), component, updateInterval );
}

View file

@ -172,7 +172,7 @@ void FGXMLAutopilotGroupImplementation::initFrom( SGPropertyNode_ptr rootNode,
SG_LOG
(
SG_AUTOPILOT,
SG_WARN,
SG_DEV_WARN,
"Duplicate " << childName << " configuration name " << name
<< ", renamed to " << apName
);