From a5c39e3009f2a290155ae8134231b476d7330343 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Tue, 20 May 2014 23:12:34 +0200 Subject: [PATCH] Final log-class cleanup (httpd comes in another commit) yes, I will use grep next time :-/ --- src/Instrumentation/instrument_mgr.cxx | 2 +- src/Main/fg_init.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5