|
From: James T. <jm...@ba...> - 2010-02-15 23:58:08
|
Update of /var/cvs/FlightGear-0.9/source/src/GUI In directory baron.flightgear.org:/tmp/cvs-serv4465/src/GUI Modified Files: menubar.cxx Log Message: Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages. Index: menubar.cxx =================================================================== RCS file: /var/cvs/FlightGear-0.9/source/src/GUI/menubar.cxx,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- menubar.cxx 23 Jan 2010 22:26:49 -0000 1.44 +++ menubar.cxx 15 Feb 2010 23:57:58 -0000 1.45 @@ -258,7 +258,7 @@ // Delete all the character arrays // we were forced to keep around for // plib. - SG_LOG(SG_GENERAL, SG_INFO, "Deleting char arrays"); + SG_LOG(SG_GENERAL, SG_BULK, "Deleting char arrays"); for (i = 0; i < _char_arrays.size(); i++) { for (int j = 0; _char_arrays[i][j] != 0; j++) free(_char_arrays[i][j]); // added with strdup @@ -268,20 +268,20 @@ // Delete all the callback arrays // we were forced to keep around for // plib. - SG_LOG(SG_GENERAL, SG_INFO, "Deleting callback arrays"); + SG_LOG(SG_GENERAL, SG_BULK, "Deleting callback arrays"); for (i = 0; i < _callback_arrays.size(); i++) delete[] _callback_arrays[i]; // Delete all those bindings - SG_LOG(SG_GENERAL, SG_INFO, "Deleting bindings"); + SG_LOG(SG_GENERAL, SG_BULK, "Deleting bindings"); map<string,vector<SGBinding *> >::iterator it; for (it = _bindings.begin(); it != _bindings.end(); it++) { - SG_LOG(SG_GENERAL, SG_INFO, "Deleting bindings for " << it->first); + SG_LOG(SG_GENERAL, SG_BULK, "Deleting bindings for " << it->first); for ( i = 0; i < it->second.size(); i++ ) delete it->second[i]; } - SG_LOG(SG_GENERAL, SG_INFO, "Done."); + SG_LOG(SG_GENERAL, SG_BULK, "Done."); } void |