From e35911e45a654b6bea455aac64f02bd6d4967a6a Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 6 Dec 2005 18:48:56 +0000 Subject: [PATCH] Vivian: downgrade log levels from ALERT to INFO, tidy up the code. --- src/Navaids/navdb.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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() ) { -- 2.39.5