From d476bee85274d8ab6c93113efba1e5aad8ab8942 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Tue, 1 Jun 2021 09:31:01 +0200 Subject: [PATCH] change msglevel comparison to catch VERBOSE too --- SimG4Components/src/SimG4Svc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimG4Components/src/SimG4Svc.cpp b/SimG4Components/src/SimG4Svc.cpp index 66a26d0..7e80fb0 100644 --- a/SimG4Components/src/SimG4Svc.cpp +++ b/SimG4Components/src/SimG4Svc.cpp @@ -81,7 +81,7 @@ StatusCode SimG4Svc::initialize() { // Attach user actions m_runManager.SetUserInitialization(m_actionsTool->userActionInitialization()); - if (!msgLevel(MSG::DEBUG)) { + if (msgLevel() < MSG::INFO) { G4HadronicProcessStore::Instance()->SetVerbose(0); UImanager->ApplyCommand("/run/verbose 0"); UImanager->ApplyCommand("/process/em/verbose 0");