From f488051bd334db708fb95dcc054ad4e6f4d2032f Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 15 Jan 2005 14:25:58 +0000 Subject: [PATCH] Change debug level: try --log-level=debug and you see why (takes very, very, *very* long to output all 21.000 airports that way). --- src/Airports/apt_loader.cxx | 6 +++--- src/Airports/simple.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Airports/apt_loader.cxx b/src/Airports/apt_loader.cxx index d978649a6..a749bcda9 100644 --- a/src/Airports/apt_loader.cxx +++ b/src/Airports/apt_loader.cxx @@ -75,11 +75,11 @@ bool fgAirportDBLoad( FGAirportList *airports, FGRunwayList *runways, while ( ! in.eof() ) { in.getline(tmp, 2048); line = tmp; - SG_LOG( SG_GENERAL, SG_DEBUG, "-> '" << line << "'" ); + SG_LOG( SG_GENERAL, SG_BULK, "-> '" << line << "'" ); if ( line.length() ) { token = simgear::strutils::split( line ); if ( token.size() ) { - SG_LOG( SG_GENERAL, SG_DEBUG, "token[0] " << token[0] ); + SG_LOG( SG_GENERAL, SG_BULK, "token[0] " << token[0] ); } } else { token.clear(); @@ -105,7 +105,7 @@ bool fgAirportDBLoad( FGAirportList *airports, FGRunwayList *runways, string id = token[4]; double elev = atof( token[1].c_str() ); - SG_LOG( SG_GENERAL, SG_DEBUG, "Next airport = " << id << " " + SG_LOG( SG_GENERAL, SG_BULK, "Next airport = " << id << " " << elev ); if ( !last_apt_id.empty()) { diff --git a/src/Airports/simple.cxx b/src/Airports/simple.cxx index a07fec777..5a3e509dc 100644 --- a/src/Airports/simple.cxx +++ b/src/Airports/simple.cxx @@ -54,7 +54,7 @@ void FGAirportList::add( const string id, const double longitude, a._has_metar = has_metar; airports_by_id[a._id] = a; airports_array.push_back( &airports_by_id[a._id] ); - SG_LOG( SG_GENERAL, SG_DEBUG, "Adding " << id << " pos = " << longitude + SG_LOG( SG_GENERAL, SG_BULK, "Adding " << id << " pos = " << longitude << ", " << latitude << " elev = " << elevation ); }