]> git.mxchange.org Git - flightgear.git/commitdiff
Vivian: downgrade log levels from ALERT to INFO, tidy up the code.
authorehofman <ehofman>
Tue, 6 Dec 2005 18:48:56 +0000 (18:48 +0000)
committerehofman <ehofman>
Tue, 6 Dec 2005 18:48:56 +0000 (18:48 +0000)
src/Navaids/navdb.cxx

index 60aac0c3ea24724033861f559028feb6968eb39e..1c2d40a65c4d8cec9ef4682dd79e6f4fccc9870c 100644 (file)
@@ -146,7 +146,7 @@ bool fgNavDBInit( FGAirportList *airports,
     path.append( "Navaids/carrier_nav.dat" );
     
     file = path.str();
-    SG_LOG( SG_GENERAL, SG_ALERT, "opening file: " << path.str() );
+    SG_LOG( SG_GENERAL, SG_INFO, "opening file: " << path.str() );
     
     sg_gzifstream incarrier( path.str() );
     
@@ -187,9 +187,8 @@ bool fgNavDBInit( FGAirportList *airports,
     path = globals->get_fg_root();
     path.append( "Navaids/TACAN_freq.dat" );
     
-    file = path.str();
-    cout << file << endl;
-    //
+    SG_LOG( SG_GENERAL, SG_INFO, "opening file: " << path.str() );
+        
     sg_gzifstream inchannel( path.str() );
     
     if ( !inchannel.is_open() ) {