]> git.mxchange.org Git - flightgear.git/commitdiff
Logging cleanups from Martin Dressler.
authordavid <david>
Sun, 3 Mar 2002 00:38:56 +0000 (00:38 +0000)
committerdavid <david>
Sun, 3 Mar 2002 00:38:56 +0000 (00:38 +0000)
src/Main/fg_init.cxx
src/Main/options.cxx

index d3012aadda4e0dc0c60ec12c03fd9639438b2775..a78638f0b0fbe18cdf650e3d532e50973dca9b1c 100644 (file)
@@ -243,7 +243,7 @@ bool fgInitConfig ( int argc, char **argv ) {
       aircraft_path.append(aircraft);
       aircraft_path.concat("-set.xml");
       SG_LOG(SG_INPUT, SG_INFO, "Reading default aircraft: " << aircraft
-            << " from " << props_path.str());
+            << " from " << aircraft_path.str());
       try {
        readProperties(aircraft_path.str(), globals->get_props());
       } catch (const sg_exception &e) {
@@ -868,6 +868,7 @@ bool fgInitSubsystems( void ) {
     // Initialize ATC list management and query systems
     ////////////////////////////////////////////////////////////////////
 
+    //DCL
     SG_LOG(SG_GENERAL, SG_INFO, "  ATIS");
     current_atislist = new FGATISList;
     SGPath p_atis( globals->get_fg_root() );
index 5bba73077b291183d8c8a24c106b3e23fc7dec05..52e3f7748121e5ed110a756e68341d6557b94977 100644 (file)
@@ -935,6 +935,8 @@ parse_option (const string& arg)
         apath.append( "Aircraft" );
         apath.append( arg.substr(11) );
         apath.concat( "-set.xml" );
+       SG_LOG(SG_INPUT, SG_INFO, "Reading aircraft: " << arg.substr(11)
+           << " from " << apath.str());
         try {
             readProperties( apath.str(), globals->get_props() );
         } catch (const sg_exception &e) {