1
0
Fork 0

Vivian: downgrade log levels from ALERT to INFO, tidy up the code.

This commit is contained in:
ehofman 2005-12-06 18:48:56 +00:00
parent eb68e9ad36
commit e35911e45a

View file

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