From 82ab69cee0962a10a64678344c21944a2e76cfac Mon Sep 17 00:00:00 2001 From: Joe Latessa Date: Fri, 16 Feb 2024 20:04:59 -0500 Subject: [PATCH] Fixing issue Debug setting in xml Implements JETSCAPE PR 180 in X-SCAPE. --- config/jetscape_main.xml | 2 +- src/framework/JetScape.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/jetscape_main.xml b/config/jetscape_main.xml index c474713b..1b68449a 100644 --- a/config/jetscape_main.xml +++ b/config/jetscape_main.xml @@ -16,7 +16,7 @@ 10 - on + off off 0 100 diff --git a/src/framework/JetScape.cc b/src/framework/JetScape.cc index 4970fb09..a4ddd048 100644 --- a/src/framework/JetScape.cc +++ b/src/framework/JetScape.cc @@ -148,8 +148,8 @@ void JetScape::ReadGeneralParametersFromXML() { // Debug level std::string log_debug = GetXMLElementText({"debug"}); - if ((int)log_debug.find("off") >= 0) - JetScapeLogger::Instance()->SetDebug(false); + if ((int)log_debug.find("on") >= 0) + JetScapeLogger::Instance()->SetDebug(true); VERBOSE(1) << "JetScape Debug = " << log_debug; // Remark