Move some warnings to Dev-mode
These are autopilot XML issues, so not useful for regular users.
This commit is contained in:
parent
c564c667df
commit
063d7bf53f
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue