From: Torsten Dreyer Date: Tue, 20 May 2014 21:12:34 +0000 (+0200) Subject: Final log-class cleanup (httpd comes in another commit) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5c39e3009f2a290155ae8134231b476d7330343;p=flightgear.git Final log-class cleanup (httpd comes in another commit) yes, I will use grep next time :-/ --- diff --git a/src/Instrumentation/instrument_mgr.cxx b/src/Instrumentation/instrument_mgr.cxx index 44d636683..5b56f9780 100644 --- a/src/Instrumentation/instrument_mgr.cxx +++ b/src/Instrumentation/instrument_mgr.cxx @@ -222,7 +222,7 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props) set_subsystem( id, new TCAS( node ), 0.2); } else { - SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: " + SG_LOG( SG_INSTR, SG_ALERT, "Unknown top level section: " << name ); return false; } diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 4b7e5b6fd..b94a73cf9 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -465,7 +465,7 @@ int fgInitConfig ( int argc, char **argv, bool reinit ) // told to explicitly ignore if (options->isOptionSet("restore-defaults") || options->isOptionSet("ignore-autosave")) { - SG_LOG(SG_ALL, SG_ALERT, "Ignoring user settings. Restoring defaults."); + SG_LOG(SG_GENERAL, SG_ALERT, "Ignoring user settings. Restoring defaults."); } else {