Skip to content

Commit

Permalink
change msglevel comparison to catch VERBOSE too
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl committed Jun 1, 2021
1 parent 6f0b19e commit d476bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4Components/src/SimG4Svc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d476bee

Please sign in to comment.