Logging cleanups from Martin Dressler.
This commit is contained in:
parent
7e93fca8ee
commit
d83fc1e9c8
2 changed files with 4 additions and 1 deletions
|
@ -243,7 +243,7 @@ bool fgInitConfig ( int argc, char **argv ) {
|
||||||
aircraft_path.append(aircraft);
|
aircraft_path.append(aircraft);
|
||||||
aircraft_path.concat("-set.xml");
|
aircraft_path.concat("-set.xml");
|
||||||
SG_LOG(SG_INPUT, SG_INFO, "Reading default aircraft: " << aircraft
|
SG_LOG(SG_INPUT, SG_INFO, "Reading default aircraft: " << aircraft
|
||||||
<< " from " << props_path.str());
|
<< " from " << aircraft_path.str());
|
||||||
try {
|
try {
|
||||||
readProperties(aircraft_path.str(), globals->get_props());
|
readProperties(aircraft_path.str(), globals->get_props());
|
||||||
} catch (const sg_exception &e) {
|
} catch (const sg_exception &e) {
|
||||||
|
@ -868,6 +868,7 @@ bool fgInitSubsystems( void ) {
|
||||||
// Initialize ATC list management and query systems
|
// Initialize ATC list management and query systems
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
//DCL
|
||||||
SG_LOG(SG_GENERAL, SG_INFO, " ATIS");
|
SG_LOG(SG_GENERAL, SG_INFO, " ATIS");
|
||||||
current_atislist = new FGATISList;
|
current_atislist = new FGATISList;
|
||||||
SGPath p_atis( globals->get_fg_root() );
|
SGPath p_atis( globals->get_fg_root() );
|
||||||
|
|
|
@ -935,6 +935,8 @@ parse_option (const string& arg)
|
||||||
apath.append( "Aircraft" );
|
apath.append( "Aircraft" );
|
||||||
apath.append( arg.substr(11) );
|
apath.append( arg.substr(11) );
|
||||||
apath.concat( "-set.xml" );
|
apath.concat( "-set.xml" );
|
||||||
|
SG_LOG(SG_INPUT, SG_INFO, "Reading aircraft: " << arg.substr(11)
|
||||||
|
<< " from " << apath.str());
|
||||||
try {
|
try {
|
||||||
readProperties( apath.str(), globals->get_props() );
|
readProperties( apath.str(), globals->get_props() );
|
||||||
} catch (const sg_exception &e) {
|
} catch (const sg_exception &e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue