From: ehofman Date: Tue, 6 Dec 2005 18:48:56 +0000 (+0000) Subject: Vivian: downgrade log levels from ALERT to INFO, tidy up the code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e35911e45a654b6bea455aac64f02bd6d4967a6a;p=flightgear.git Vivian: downgrade log levels from ALERT to INFO, tidy up the code. --- diff --git a/src/Navaids/navdb.cxx b/src/Navaids/navdb.cxx index 60aac0c3e..1c2d40a65 100644 --- a/src/Navaids/navdb.cxx +++ b/src/Navaids/navdb.cxx @@ -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() ) {