Skip to content

Commit

Permalink
Merge pull request #145 from Dr15Jones/consumesMessageToInfo
Browse files Browse the repository at this point in the history
Missing consumes changed to Info message
  • Loading branch information
ktf committed Jul 19, 2013
2 parents 4ffe10f + 06a264f commit 264cc1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FWCore/Framework/src/Principal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ namespace edm {

namespace {
void failedToRegisterConsumesMany(edm::TypeID const& iType) {
LogError("GetManyWithoutRegistration")<<"::getManyByType called for "<<iType<<" without a corresponding consumesMany being called for this module. \n";
LogInfo("GetManyWithoutRegistration")<<"::getManyByType called for "<<iType<<" without a corresponding consumesMany being called for this module. \n";
}

void failedToRegisterConsumes(KindOfType kindOfType,
TypeID const& productType,
std::string const& moduleLabel,
std::string const& productInstanceName,
std::string const& processName) {
LogError("GetByLabelWithoutRegistration")<<"::getByLabel without corresponding call to consumes or mayConsumes for this module.\n"
LogInfo("GetByLabelWithoutRegistration")<<"::getByLabel without corresponding call to consumes or mayConsumes for this module.\n"
<< (kindOfType == PRODUCT_TYPE ? " type: " : " type: edm::Veiw<")<<productType
<< (kindOfType == PRODUCT_TYPE ? "\n module label: " : ">\n module label: ")<<moduleLabel
<<"\n product instance name: '"<<productInstanceName
Expand Down

0 comments on commit 264cc1e

Please sign in to comment.