From 6c65a26ddf2540d93669cee8c5f0ebfd1d6920fb Mon Sep 17 00:00:00 2001 From: jmt <jmt> Date: Mon, 29 Jun 2009 14:02:24 +0000 Subject: [PATCH] Switch some log message from the traffic code to SG_BULK (with Durk's permission) --- src/Traffic/Schedule.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Traffic/Schedule.cxx b/src/Traffic/Schedule.cxx index d568936ad..fda2c8244 100644 --- a/src/Traffic/Schedule.cxx +++ b/src/Traffic/Schedule.cxx @@ -213,7 +213,7 @@ bool FGAISchedule::update(time_t now) //cerr << "About to find a flight " << endl; if (flights.empty()) { //execute this loop at least once. - SG_LOG(SG_GENERAL, SG_INFO, "Scheduling for : " << modelPath << " " << registration << " " << homePort); + SG_LOG(SG_GENERAL, SG_BULK, "Scheduling for : " << modelPath << " " << registration << " " << homePort); FGScheduledFlight *flight = 0; do { flight = findAvailableFlight(currentDestination, flightIdentifier); @@ -227,7 +227,7 @@ bool FGAISchedule::update(time_t now) depT = depT.substr(0,24); arrT = arrT.substr(0,24); - SG_LOG(SG_GENERAL, SG_INFO, " " << flight->getCallSign() << ":" + SG_LOG(SG_GENERAL, SG_BULK, " " << flight->getCallSign() << ":" << " " << flight->getDepartureAirport()->getId() << ":" << " " << depT << ":" << " \"" << flight->getArrivalAirport()->getId() << "\"" << ":" @@ -235,7 +235,7 @@ bool FGAISchedule::update(time_t now) flights.push_back(flight); } } while ((currentDestination != homePort) && (flight != 0)); - SG_LOG(SG_GENERAL, SG_INFO, cerr << " Done " << endl); + SG_LOG(SG_GENERAL, SG_BULK, cerr << " Done " << endl); } //cerr << " Done " << endl; // No flights available for this aircraft