name = buf.str();
}
if( name != component->get_name() )
- SG_LOG( SG_ALL, SG_WARN, "Duplicate autopilot component " << component->get_name() << ", renamed to " << name );
+ SG_LOG( SG_AUTOPILOT, SG_WARN, "Duplicate autopilot component " << component->get_name() << ", renamed to " << name );
set_subsystem( name.c_str(), component, updateInterval );
}
{
if( has_subsystem(name) )
{
- SG_LOG( SG_ALL,
+ SG_LOG( SG_AUTOPILOT,
SG_ALERT,
"NOT adding duplicate " << _nodeName << " name '" << name << "'");
return;
Autopilot* ap = static_cast<Autopilot*>(get_subsystem(name));
if( !ap )
{
- SG_LOG( SG_ALL,
+ SG_LOG( SG_AUTOPILOT,
SG_ALERT,
"CAN NOT remove unknown " << _nodeName << " '" << name << "'");
return;
{
SG_LOG
(
- SG_ALL,
+ SG_AUTOPILOT,
SG_WARN,
"No configuration file specified for this " << childName << "!"
);
if( apName != name )
SG_LOG
(
- SG_ALL,
+ SG_AUTOPILOT,
SG_WARN,
"Duplicate " << childName << " configuration name " << name
<< ", renamed to " << apName
{
SG_LOG
(
- SG_ALL,
+ SG_AUTOPILOT,
SG_ALERT,
"Cannot find property-rule configuration file '" << path << "'."
);
}
SG_LOG
(
- SG_ALL,
+ SG_AUTOPILOT,
SG_INFO,
"Reading property-rule configuration from " << config.str()
);