From 8bcf5970865f7f6450ca92310ea1051bf16c9072 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 1 Dec 2013 21:33:31 +0000 Subject: [PATCH] Remap JSB-sim debug levels from SG_LOG levels. (Avoids the entire aircraft config being dumped to the console at log-level info) --- src/FDM/JSBSim/JSBSim.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/FDM/JSBSim/JSBSim.cxx b/src/FDM/JSBSim/JSBSim.cxx index f6efc4b11..c276c2c48 100644 --- a/src/FDM/JSBSim/JSBSim.cxx +++ b/src/FDM/JSBSim/JSBSim.cxx @@ -181,10 +181,8 @@ FGJSBsim::FGJSBsim( double dt ) FGJSBBase::debug_lvl = 0x1f; break; case SG_DEBUG: - FGJSBBase::debug_lvl = 0x0f; + FGJSBBase::debug_lvl = 0x1f; case SG_INFO: - FGJSBBase::debug_lvl = 0x01; - break; case SG_WARN: case SG_ALERT: FGJSBBase::debug_lvl = 0x00; -- 2.39.5