Vivian: downgrade log levels from ALERT to INFO, tidy up the code.
This commit is contained in:
parent
eb68e9ad36
commit
e35911e45a
1 changed files with 3 additions and 4 deletions
|
@ -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() ) {
|
||||||
|
|
Loading…
Reference in a new issue