diff --git a/FWCore/Framework/src/EventProcessor.cc b/FWCore/Framework/src/EventProcessor.cc index 062407d2bc341..e045c483622d8 100644 --- a/FWCore/Framework/src/EventProcessor.cc +++ b/FWCore/Framework/src/EventProcessor.cc @@ -579,7 +579,7 @@ namespace edm { not unusedModules.empty()) { pathsAndConsumesOfModules_.removeModules(unusedModules); - edm::LogWarning("DeleteModules").log([&unusedModules](auto& l) { + edm::LogInfo("DeleteModules").log([&unusedModules](auto& l) { l << "Following modules are not in any Path or EndPath, nor is their output consumed by any other module, " "and " "therefore they are deleted before beginJob transition."; diff --git a/FWCore/Framework/src/SubProcess.cc b/FWCore/Framework/src/SubProcess.cc index 22b65f29ef6c3..d4e3fcc3d04f4 100644 --- a/FWCore/Framework/src/SubProcess.cc +++ b/FWCore/Framework/src/SubProcess.cc @@ -247,7 +247,7 @@ namespace edm { not unusedModules.empty()) { pathsAndConsumesOfModules_.removeModules(unusedModules); - edm::LogWarning("DeleteModules").log([&unusedModules, this](auto& l) { + edm::LogInfo("DeleteModules").log([&unusedModules, this](auto& l) { l << "Following modules are not in any Path or EndPath, nor is their output consumed by any other module, " "and " "therefore they are deleted from SubProcess "