1
0
Fork 0

Reduce severity of a failure to create a marker beacon due to an unknown runway from ALERT to WARN. Not particularly relevant error message for most users.

This commit is contained in:
Stuart Buchanan 2012-06-30 20:50:57 +01:00
parent 294c081369
commit 60af52707c

View file

@ -53,7 +53,7 @@ FGMarkerBeaconRecord::create(int aTy, const string& aName, const SGGeod& aPos)
FGRunway* runway = getRunwayFromName(aName);
if (!runway)
{
SG_LOG(SG_GENERAL, SG_ALERT, "Failed to create beacon for unknown runway '" << aName << "'.");
SG_LOG(SG_GENERAL, SG_WARN, "Failed to create beacon for unknown runway '" << aName << "'.");
return NULL;
}
SGGeod pos(aPos);