CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
edm::service::MessageLogger Class Reference

#include <MessageLogger.h>

Public Member Functions

bool debugEnabled () const
 
void fillErrorObj (edm::ErrorObj &obj) const
 
 MessageLogger (ParameterSet const &, ActivityRegistry &)
 

Static Public Member Functions

static bool anyDebugEnabled ()
 
static void SummarizeInJobReport ()
 

Private Member Functions

void establish (const char *whichPhase)
 
void establishModule (const ModuleDescription &desc, const char *whichPhase)
 
void establishModule (unsigned int transitionIndex, const ModuleCallingContext &context, const char *whichPhase)
 
void jobFailure ()
 
void postBeginJob ()
 
void postEndJob ()
 
void postEvent (StreamContext const &)
 
void postFile (std::string const &, bool)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postModuleBeginJob (ModuleDescription const &)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &)
 
void postModuleEndJob (ModuleDescription const &)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &)
 
void postSourceEvent (StreamID)
 
void postSourceRunLumi ()
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void preEndJob ()
 
void preEvent (StreamContext const &)
 
void preFile (std::string const &, bool)
 
void preFileClose (std::string const &, bool)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preModuleBeginJob (ModuleDescription const &)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &)
 
void preModuleEndJob (ModuleDescription const &)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &)
 
void preSourceEvent (StreamID)
 
void preSourceRunLumi ()
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext const &)
 
void unEstablish (const char *whichPhase)
 
void unEstablishModule (const ModuleCallingContext &desc, const char *whichPhase)
 
void unEstablishModule (const ModuleDescription &desc, const char *whichPhase)
 

Private Attributes

bool debugEnabled_
 
std::set< std::string > debugEnabledModules_
 
unsigned int lumiInfoBegin_ = 0
 
bool messageServicePSetHasBeenValidated_
 
std::string messageServicePSetValidatationResults_
 
bool nonModule_debugEnabled
 
bool nonModule_errorEnabled
 
bool nonModule_infoEnabled
 
bool nonModule_warningEnabled
 
unsigned int runInfoBegin_ = 0
 
std::map< std::string, ELseverityLevelsuppression_levels_
 
std::vector< std::array< char, 64 > > transitionInfoCache_
 

Static Private Attributes

static bool anyDebugEnabled_ = false
 
static bool everyDebugEnabled_ = false
 
static bool fjrSummaryRequested_ = false
 

Detailed Description

Definition at line 47 of file MessageLogger.h.

Constructor & Destructor Documentation

◆ MessageLogger()

MessageLogger::MessageLogger ( ParameterSet const &  iPS,
ActivityRegistry iRegistry 
)

Definition at line 164 of file MessageLogger.cc.

165  : debugEnabled_(false),
168  nonModule_debugEnabled(false),
169  nonModule_infoEnabled(true),
171  nonModule_errorEnabled(true) // change log 20
172  {
173  // prepare cfg validation string for later use
175  messageServicePSetValidatationResults_ = validator(iPS); // change log 12
176 
177  typedef std::vector<std::string> vString;
178  vString empty_vString;
179  vString debugModules;
180  vString suppressDebug;
181  vString suppressInfo;
182  vString suppressWarning;
183  vString suppressError; // change log 20
184 
185  try { // change log 13
186  // decide whether a summary should be placed in job report
187  fjrSummaryRequested_ = iPS.getUntrackedParameter<bool>("messageSummaryToJobReport", false);
188 
189  // grab list of debug-enabled modules
190  debugModules = iPS.getUntrackedParameter<vString>("debugModules", empty_vString);
191 
192  // grab lists of suppressLEVEL modules
193  suppressDebug = iPS.getUntrackedParameter<vString>("suppressDebug", empty_vString);
194 
195  suppressInfo = iPS.getUntrackedParameter<vString>("suppressInfo", empty_vString);
196 
197  suppressWarning = iPS.getUntrackedParameter<vString>("suppressWarning", empty_vString);
198 
199  suppressError = // change log 20
200  iPS.getUntrackedParameter<vString>("suppressError", empty_vString);
201  } catch (cms::Exception& e) { // change log 13
202  }
203 
204  // Use these lists to prepare a map to use in tracking suppression
205 
206  // Do suppressDebug first and suppressError last to get proper order
207  for (vString::const_iterator it = suppressDebug.begin(); it != suppressDebug.end(); ++it) {
209  }
210 
211  for (vString::const_iterator it = suppressInfo.begin(); it != suppressInfo.end(); ++it) {
213  }
214 
215  for (vString::const_iterator it = suppressWarning.begin(); it != suppressWarning.end(); ++it) {
217  }
218 
219  for (vString::const_iterator it = suppressError.begin(); // change log 20
220  it != suppressError.end();
221  ++it) {
223  }
224 
225  // set up for tracking whether current module is debug-enabled
226  // (and info-enabled and warning-enabled)
227  if (debugModules.empty()) {
228  anyDebugEnabled_ = false; // change log 11
229  MessageDrop::instance()->debugEnabled = false; // change log 1
230  } else {
231  anyDebugEnabled_ = true; // change log 11
233  // this will be over-ridden when specific modules are entered
234  }
235 
236  // if ( debugModules.empty()) anyDebugEnabled_ = true; // wrong; change log 11
237  for (vString::const_iterator it = debugModules.begin(); it != debugModules.end(); ++it) {
238  if (*it == "*") {
239  everyDebugEnabled_ = true;
240  } else {
241  debugEnabledModules_.insert(*it);
242  }
243  }
244 
245  // change log 7
247  std::string* jm_p = new std::string(jm);
248  MessageLoggerQ::MLqMOD(jm_p); // change log 9
249 
250  MessageLoggerQ::MLqCFG(new ParameterSet(iPS)); // change log 9
251 
252  iRegistry.watchPreallocate([this](edm::service::SystemBounds const& iBounds) {
253  //reserve the proper amount of space to record the transition info
254  this->transitionInfoCache_.resize(iBounds.maxNumberOfStreams() +
256  iBounds.maxNumberOfConcurrentRuns());
259 
261  });
262 
264  iRegistry.watchPreEndJob(this, &MessageLogger::preEndJob);
265  iRegistry.watchPostEndJob(this, &MessageLogger::postEndJob);
266  iRegistry.watchJobFailure(this, &MessageLogger::jobFailure); // change log 14
267 
270  // change log 3
271 
274  // change log 3
275 
278 
281 
284  // change log 14:
285  iRegistry.watchPreSourceRun([this](RunIndex) { preSourceRunLumi(); });
286  iRegistry.watchPostSourceRun([this](RunIndex) { postSourceRunLumi(); });
287  iRegistry.watchPreSourceLumi([this](LuminosityBlockIndex) { preSourceRunLumi(); });
289  iRegistry.watchPreOpenFile(this, &MessageLogger::preFile);
290  iRegistry.watchPostOpenFile(this, &MessageLogger::postFile);
293 
294  // change log 13:
295  // change log 15
300 
305 
314 
323 
324  iRegistry.watchPreEvent(this, &MessageLogger::preEvent);
325  iRegistry.watchPostEvent(this, &MessageLogger::postEvent);
326 
335 
344 
347 
348  MessageDrop* messageDrop = MessageDrop::instance();
349  nonModule_debugEnabled = messageDrop->debugEnabled;
350  nonModule_infoEnabled = messageDrop->infoEnabled;
352  nonModule_errorEnabled = messageDrop->errorEnabled;
353  } // ctor

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, remoteMonitoring_LED_IterMethod_cfg::debugModules, MillePedeFileConverter_cfg::e, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, fjrSummaryRequested_, edm::ParameterSet::getUntrackedParameter(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), jobFailure(), edm::MessageDrop::jobMode, lumiInfoBegin_, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), messageServicePSetValidatationResults_, edm::MessageLoggerQ::MLqCFG(), edm::MessageLoggerQ::MLqMOD(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, postBeginJob(), postEndJob(), postEvent(), postFile(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceRunLumi(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preEndJob(), preEvent(), preFile(), preFileClose(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceRunLumi(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), runInfoBegin_, edm::setMaxLoggedErrorsSummaryIndicies(), AlCaHLTBitMon_QueryRunRegistry::string, Log4cplus_cff::suppressDebug, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::suppressInfo, suppression_levels_, Log4cplus_cff::suppressWarning, transitionInfoCache_, edm::MessageDrop::warningEnabled, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), edm::ActivityRegistry::watchPostModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPostModuleGlobalBeginRun(), edm::ActivityRegistry::watchPostModuleGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleGlobalEndRun(), edm::ActivityRegistry::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEndJob(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventAcquire(), edm::ActivityRegistry::watchPreModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPreModuleGlobalBeginRun(), edm::ActivityRegistry::watchPreModuleGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleGlobalEndRun(), edm::ActivityRegistry::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), and edm::ActivityRegistry::watchPreStreamEndRun().

Member Function Documentation

◆ anyDebugEnabled()

static bool edm::service::MessageLogger::anyDebugEnabled ( )
inlinestatic

Definition at line 54 of file MessageLogger.h.

54 { return anyDebugEnabled_; }

References anyDebugEnabled_.

◆ debugEnabled()

bool edm::service::MessageLogger::debugEnabled ( ) const
inline

Definition at line 52 of file MessageLogger.h.

52 { return debugEnabled_; }

References debugEnabled_.

◆ establish()

void MessageLogger::establish ( const char *  whichPhase)
private

Definition at line 481 of file MessageLogger.cc.

481  {
482  MessageDrop* messageDrop = MessageDrop::instance();
483  messageDrop->setSinglet(state); // Change Log 17
484  if (!anyDebugEnabled_) {
485  messageDrop->debugEnabled = false;
486  } else if (everyDebugEnabled_) {
487  messageDrop->debugEnabled = true;
488  } else {
489  messageDrop->debugEnabled = debugEnabledModules_.count(state); // change log 8
490  }
491  std::map<const std::string, ELseverityLevel>::const_iterator it =
492  suppression_levels_.find(state); // change log 8
493  if (it != suppression_levels_.end()) {
494  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
495  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
496  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
497  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
498  } else {
499  messageDrop->infoEnabled = true;
500  messageDrop->warningEnabled = true;
501  messageDrop->errorEnabled = true;
502  }
503  }

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::MessageDrop::setSinglet(), suppression_levels_, and edm::MessageDrop::warningEnabled.

Referenced by preFile(), preFileClose(), preSourceEvent(), and preSourceRunLumi().

◆ establishModule() [1/2]

void MessageLogger::establishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Definition at line 359 of file MessageLogger.cc.

361  {
362  MessageDrop* messageDrop = MessageDrop::instance();
363 
364  // std::cerr << "establishModule( " << desc.moduleName() << ")\n";
365  // Change Log 17
366  messageDrop->setModuleWithPhase(desc.moduleName(), desc.moduleLabel(), desc.id(), whichPhase);
367  // Removed caching per change 17 - caching is now done in MessageDrop.cc
368  // in theContext() method, and only happens if a message is actually issued.
369 
370  if (!anyDebugEnabled_) {
371  messageDrop->debugEnabled = false;
372  } else if (everyDebugEnabled_) {
373  messageDrop->debugEnabled = true;
374  } else {
375  messageDrop->debugEnabled = debugEnabledModules_.count(desc.moduleLabel());
376  }
377 
378  auto it = suppression_levels_.find(desc.moduleLabel());
379  if (it != suppression_levels_.end()) {
380  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
381  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
382  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
383  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
384  } else {
385  messageDrop->infoEnabled = true;
386  messageDrop->warningEnabled = true;
387  messageDrop->errorEnabled = true;
388  }
389  } // establishModule

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::ModuleDescription::id(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), edm::MessageDrop::setModuleWithPhase(), suppression_levels_, and edm::MessageDrop::warningEnabled.

Referenced by preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preSourceConstruction(), and unEstablishModule().

◆ establishModule() [2/2]

void MessageLogger::establishModule ( unsigned int  transitionIndex,
const ModuleCallingContext context,
const char *  whichPhase 
)
private

Definition at line 391 of file MessageLogger.cc.

394  {
395  MessageDrop* messageDrop = MessageDrop::instance();
396 
397  // std::cerr << "establishModule( " << desc.moduleName() << ")\n";
398  // Change Log 17
399  auto const desc = mod.moduleDescription();
400  messageDrop->runEvent = transitionInfoCache_[transitionIndex].begin();
401  messageDrop->setModuleWithPhase(desc->moduleName(), desc->moduleLabel(), desc->id(), whichPhase);
402  messageDrop->streamID = transitionIndex;
403  if (transitionIndex >= lumiInfoBegin_) {
405  }
406  // Removed caching per change 17 - caching is now done in MessageDrop.cc
407  // in theContext() method, and only happens if a message is actually issued.
408 
409  if (!anyDebugEnabled_) {
410  messageDrop->debugEnabled = false;
411  } else if (everyDebugEnabled_) {
412  messageDrop->debugEnabled = true;
413  } else {
414  messageDrop->debugEnabled = debugEnabledModules_.count(desc->moduleLabel());
415  }
416 
417  auto it = suppression_levels_.find(desc->moduleLabel());
418  if (it != suppression_levels_.end()) {
419  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
420  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
421  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
422  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
423  } else {
424  messageDrop->infoEnabled = true;
425  messageDrop->warningEnabled = true;
426  messageDrop->errorEnabled = true;
427  }
428  } // establishModule

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), lumiInfoBegin_, SiStripPI::max, mod(), edm::MessageDrop::runEvent, edm::MessageDrop::setModuleWithPhase(), edm::MessageDrop::streamID, suppression_levels_, transitionInfoCache_, and edm::MessageDrop::warningEnabled.

◆ fillErrorObj()

void edm::service::MessageLogger::fillErrorObj ( edm::ErrorObj obj) const

◆ jobFailure()

void MessageLogger::jobFailure ( )
private

Definition at line 832 of file MessageLogger.cc.

832  {
833  MessageDrop* messageDrop = MessageDrop::instance();
834  messageDrop->setSinglet("jobFailure");
835  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
836  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
837  }

References edm::MessageDrop::instance(), edm::MessageLoggerQ::MLqSUM(), edm::MessageDrop::setSinglet(), and SummarizeInJobReport().

Referenced by MessageLogger().

◆ postBeginJob()

void MessageLogger::postBeginJob ( )
private

Definition at line 669 of file MessageLogger.cc.

669  {
670  MessageDrop::instance()->runEvent = "BeforeEvents";
671  MessageDrop::instance()->setSinglet("AfterBeginJob"); // Change Log 17
672  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postEndJob()

void MessageLogger::postEndJob ( )
private

Definition at line 827 of file MessageLogger.cc.

827  {
828  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
829  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
830  }

References edm::MessageLoggerQ::MLqSUM(), and SummarizeInJobReport().

Referenced by MessageLogger().

◆ postEvent()

void MessageLogger::postEvent ( StreamContext const &  iContext)
private

Definition at line 700 of file MessageLogger.cc.

700  {
701  edm::MessageDrop::instance()->runEvent = "PostProcessEvent";
702  edm::clearLoggedErrorsSummary(iContext.streamID().value());
703  }

References edm::clearLoggedErrorsSummary(), edm::MessageDrop::instance(), edm::MessageDrop::runEvent, edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

◆ postFile()

void MessageLogger::postFile ( std::string const &  ,
bool   
)
private

Definition at line 687 of file MessageLogger.cc.

687 { unEstablish("AfterFile"); }

References unEstablish().

Referenced by MessageLogger().

◆ postGlobalBeginLumi()

void MessageLogger::postGlobalBeginLumi ( GlobalContext const &  )
private

Definition at line 805 of file MessageLogger.cc.

805  {
806  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginLumi";
807  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginLumi"); // changelog 17
808  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postGlobalBeginRun()

void MessageLogger::postGlobalBeginRun ( GlobalContext const &  )
private

Definition at line 767 of file MessageLogger.cc.

767  {
768  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginRun";
769  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginRun"); // changelog 17
770  // Note - module name had not been set here
771  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postGlobalEndLumi()

void MessageLogger::postGlobalEndLumi ( GlobalContext const &  )
private

Definition at line 817 of file MessageLogger.cc.

817  {
818  edm::MessageDrop::instance()->runEvent = "PostGlobalEndLumi";
819  edm::MessageDrop::instance()->setSinglet("PostGlobalEndLumi"); // changelog 17
820  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postGlobalEndRun()

void MessageLogger::postGlobalEndRun ( GlobalContext const &  )
private

Definition at line 792 of file MessageLogger.cc.

792  {
793  edm::MessageDrop::instance()->runEvent = "PostGlobalEndRun";
794  edm::MessageDrop::instance()->setSinglet("PostGlobalEndRun"); // changelog 17
795  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postModuleBeginJob()

void MessageLogger::postModuleBeginJob ( ModuleDescription const &  iDescription)
private

Definition at line 531 of file MessageLogger.cc.

531  {
532  unEstablishModule(iDescription, "AfterModBeginJob");
533  }

References unEstablishModule().

Referenced by MessageLogger().

◆ postModuleBeginStream()

void MessageLogger::postModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 552 of file MessageLogger.cc.

552  {
553  ModuleDescription const& desc = *mcc.moduleDescription();
554  unEstablishModule(desc, "AfterModBeginStream");
555  }

References edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleConstruction()

void MessageLogger::postModuleConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 522 of file MessageLogger.cc.

524  { //it is now guaranteed that this will be called even if the module throws
525  unEstablishModule(iDescription, "AfterModConstruction");
526  }

References unEstablishModule().

Referenced by MessageLogger().

◆ postModuleEndJob()

void MessageLogger::postModuleEndJob ( ModuleDescription const &  iDescription)
private

Definition at line 661 of file MessageLogger.cc.

661  {
662  unEstablishModule(iDescription, "AfterModEndJob");
663  }

References unEstablishModule().

Referenced by MessageLogger().

◆ postModuleEndStream()

void MessageLogger::postModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 653 of file MessageLogger.cc.

653  {
654  ModuleDescription const& desc = *mcc.moduleDescription();
655  unEstablishModule(desc, "AfterModEndStream");
656  }

References edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleEvent()

void MessageLogger::postModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 580 of file MessageLogger.cc.

580  {
581  unEstablishModule(mod, "PostModuleEvent");
582  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleEventAcquire()

void MessageLogger::postModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 589 of file MessageLogger.cc.

589  {
590  unEstablishModule(mod, "PostModuleEventAcquire");
591  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleGlobalBeginLumi()

void MessageLogger::postModuleGlobalBeginLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 626 of file MessageLogger.cc.

626  {
627  unEstablishModule(mod, "AfterModGlobalBeginLumi");
628  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleGlobalBeginRun()

void MessageLogger::postModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 617 of file MessageLogger.cc.

617  {
618  unEstablishModule(mod, "AfterModGlobalBeginRun");
619  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleGlobalEndLumi()

void MessageLogger::postModuleGlobalEndLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 635 of file MessageLogger.cc.

635  {
636  unEstablishModule(mod, "AfterModGlobalEndLumi");
637  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleGlobalEndRun()

void MessageLogger::postModuleGlobalEndRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 644 of file MessageLogger.cc.

644  {
645  unEstablishModule(mod, "AfterModGlobalEndRun");
646  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleStreamBeginLumi()

void MessageLogger::postModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 571 of file MessageLogger.cc.

571  {
572  unEstablishModule(mod, "AfterModStreamBeginLumi");
573  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleStreamBeginRun()

void MessageLogger::postModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 562 of file MessageLogger.cc.

562  {
563  unEstablishModule(mod, "AfterModStreamBeginRun");
564  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleStreamEndLumi()

void MessageLogger::postModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 598 of file MessageLogger.cc.

598  {
599  unEstablishModule(mod, "AfterModStreamEndLumi");
600  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postModuleStreamEndRun()

void MessageLogger::postModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 607 of file MessageLogger.cc.

607  {
608  unEstablishModule(mod, "AfterModStreamEndRun");
609  }

References mod(), and unEstablishModule().

Referenced by MessageLogger().

◆ postPathEvent()

void MessageLogger::postPathEvent ( StreamContext const &  ,
PathContext const &  ,
HLTPathStatus const &   
)
private

Definition at line 781 of file MessageLogger.cc.

781  {
782  edm::MessageDrop::instance()->setSinglet("PostProcessPath"); // changelog 17
783  }

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postSourceConstruction()

void MessageLogger::postSourceConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 544 of file MessageLogger.cc.

544  {
545  unEstablishModule(iDescription, "AfterSourceConstruction");
546  }

References unEstablishModule().

Referenced by MessageLogger().

◆ postSourceEvent()

void MessageLogger::postSourceEvent ( StreamID  )
private

Definition at line 678 of file MessageLogger.cc.

678  {
679  unEstablish("AfterSource");
680  MessageDrop::instance()->runEvent = "AfterSource";
681  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and unEstablish().

Referenced by MessageLogger().

◆ postSourceRunLumi()

void MessageLogger::postSourceRunLumi ( )
private

Definition at line 683 of file MessageLogger.cc.

683 { unEstablish("AfterSource"); }

References unEstablish().

Referenced by MessageLogger().

◆ postStreamBeginLumi()

void MessageLogger::postStreamBeginLumi ( StreamContext const &  )
private

Definition at line 741 of file MessageLogger.cc.

741  {
742  edm::MessageDrop::instance()->runEvent = "PostStreamBeginLumi";
743  edm::MessageDrop::instance()->setSinglet("PostStreamBeginLumi"); // changelog 17
744  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postStreamBeginRun()

void MessageLogger::postStreamBeginRun ( StreamContext const &  )
private

Definition at line 713 of file MessageLogger.cc.

713  {
714  edm::MessageDrop::instance()->runEvent = "PostStreamBeginRun";
715  edm::MessageDrop::instance()->setSinglet("PostStreamBeginRun"); // changelog 17
716  // Note - module name had not been set here
717  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postStreamEndLumi()

void MessageLogger::postStreamEndLumi ( StreamContext const &  )
private

Definition at line 755 of file MessageLogger.cc.

755  {
756  edm::MessageDrop::instance()->runEvent = "PostStreamEndLumi";
757  edm::MessageDrop::instance()->setSinglet("PostStreamEndLumi"); // changelog 17
758  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ postStreamEndRun()

void MessageLogger::postStreamEndRun ( StreamContext const &  )
private

Definition at line 727 of file MessageLogger.cc.

727  {
728  edm::MessageDrop::instance()->runEvent = "PostStreamEndRun";
729  edm::MessageDrop::instance()->setSinglet("PostStreaEndRun"); // changelog 17
730  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ preEndJob()

void MessageLogger::preEndJob ( )
private

Definition at line 822 of file MessageLogger.cc.

822  {
823  edm::MessageDrop::instance()->runEvent = "EndJob";
824  edm::MessageDrop::instance()->setSinglet("EndJob"); // changelog
825  }

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

◆ preEvent()

void MessageLogger::preEvent ( StreamContext const &  iContext)
private

Definition at line 689 of file MessageLogger.cc.

689  {
690  assert(iContext.streamID().value() < transitionInfoCache_.size());
691  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
692  auto const& id = iContext.eventID();
693  auto v = fill_buffer(buffer, "Run: ", id.run(), " Event: ", id.event());
695  edm::MessageDrop::instance()->setSinglet("PreEventProcessing"); // changelog 17
696  // Note - module name had not been set here Similarly in other places where
697  // RunEvent carries the new information; we add setSinglet for module name.
698  }

References cms::cuda::assert(), edmScanValgrind::buffer, event(), edm::StreamContext::eventID(), edm::MessageDrop::instance(), writedatasetfile::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

◆ preFile()

void MessageLogger::preFile ( std::string const &  ,
bool   
)
private

Definition at line 685 of file MessageLogger.cc.

685 { establish("file_open"); }

References establish().

Referenced by MessageLogger().

◆ preFileClose()

void MessageLogger::preFileClose ( std::string const &  ,
bool   
)
private

Definition at line 686 of file MessageLogger.cc.

686 { establish("file_close"); }

References establish().

Referenced by MessageLogger().

◆ preGlobalBeginLumi()

void MessageLogger::preGlobalBeginLumi ( GlobalContext const &  iContext)
private

Definition at line 797 of file MessageLogger.cc.

797  {
798  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
799  auto const& id = iContext.luminosityBlockID();
800  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
802  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginLumi"); // changelog 17
803  }

References edmScanValgrind::buffer, edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), writedatasetfile::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

◆ preGlobalBeginRun()

void MessageLogger::preGlobalBeginRun ( GlobalContext const &  iContext)
private

Definition at line 760 of file MessageLogger.cc.

761  {
762  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
763  auto v = fill_buffer(buffer, "Run: ", iContext.luminosityBlockID().run());
765  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginRun"); // changelog 17
766  }

References edmScanValgrind::buffer, edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

◆ preGlobalEndLumi()

void MessageLogger::preGlobalEndLumi ( GlobalContext const &  iContext)
private

Definition at line 810 of file MessageLogger.cc.

810  {
811  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
812  auto const& id = iContext.luminosityBlockID();
813  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
815  edm::MessageDrop::instance()->setSinglet("PreGlobalEndLumi"); // changelog 17
816  }

References edmScanValgrind::buffer, edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), writedatasetfile::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

◆ preGlobalEndRun()

void MessageLogger::preGlobalEndRun ( GlobalContext const &  iContext)
private

Definition at line 785 of file MessageLogger.cc.

785  {
786  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
787  auto v = fill_buffer(buffer, "End Run: ", iContext.luminosityBlockID().run());
789  edm::MessageDrop::instance()->setSinglet("PreGlobalEndRun"); // changelog 17
790  }

References edmScanValgrind::buffer, edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

◆ preModuleBeginJob()

void MessageLogger::preModuleBeginJob ( ModuleDescription const &  desc)
private

Definition at line 528 of file MessageLogger.cc.

528  {
529  establishModule(desc, "@beginJob"); // ChangeLog 13
530  }

References establishModule().

Referenced by MessageLogger().

◆ preModuleBeginStream()

void MessageLogger::preModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 548 of file MessageLogger.cc.

548  {
549  ModuleDescription const& desc = *mcc.moduleDescription();
550  establishModule(desc, "@beginStream"); // ChangeLog 13
551  }

References establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by MessageLogger().

◆ preModuleConstruction()

void MessageLogger::preModuleConstruction ( ModuleDescription const &  desc)
private

◆ preModuleEndJob()

void MessageLogger::preModuleEndJob ( ModuleDescription const &  desc)
private

Definition at line 658 of file MessageLogger.cc.

658  {
659  establishModule(desc, "@endJob"); // ChangeLog 13
660  }

References establishModule().

Referenced by MessageLogger().

◆ preModuleEndStream()

void MessageLogger::preModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 648 of file MessageLogger.cc.

648  {
649  ModuleDescription const& desc = *mcc.moduleDescription();
650  establishModule(desc, "@endStream"); // ChangeLog 13
651  }

References establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by MessageLogger().

◆ preModuleEvent()

void MessageLogger::preModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 575 of file MessageLogger.cc.

575  {
577  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
578  }

References establishModule(), edm::StreamContext::kEvent, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ preModuleEventAcquire()

void MessageLogger::preModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 584 of file MessageLogger.cc.

584  {
586  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
587  }

References establishModule(), edm::StreamContext::kEvent, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ preModuleGlobalBeginLumi()

void MessageLogger::preModuleGlobalBeginLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 621 of file MessageLogger.cc.

621  {
622  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
623  mod,
624  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginLuminosityBlock)]);
625  }

References establishModule(), edm::GlobalContext::kBeginLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by MessageLogger().

◆ preModuleGlobalBeginRun()

void MessageLogger::preModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 612 of file MessageLogger.cc.

612  {
613  establishModule(runInfoBegin_ + context.runIndex().value(),
614  mod,
615  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginRun)]);
616  }

References establishModule(), edm::GlobalContext::kBeginRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by MessageLogger().

◆ preModuleGlobalEndLumi()

void MessageLogger::preModuleGlobalEndLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 630 of file MessageLogger.cc.

630  {
631  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
632  mod,
633  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndLuminosityBlock)]);
634  }

References establishModule(), edm::GlobalContext::kEndLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by MessageLogger().

◆ preModuleGlobalEndRun()

void MessageLogger::preModuleGlobalEndRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 639 of file MessageLogger.cc.

639  {
640  establishModule(runInfoBegin_ + context.runIndex().value(),
641  mod,
642  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndRun)]); // ChangeLog 13
643  }

References establishModule(), edm::GlobalContext::kEndRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by MessageLogger().

◆ preModuleStreamBeginLumi()

void MessageLogger::preModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 566 of file MessageLogger.cc.

566  {
567  establishModule(stream.streamID().value(),
568  mod,
569  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginLuminosityBlock)]);
570  }

References establishModule(), edm::StreamContext::kBeginLuminosityBlock, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ preModuleStreamBeginRun()

void MessageLogger::preModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 557 of file MessageLogger.cc.

557  {
558  establishModule(stream.streamID().value(),
559  mod,
560  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginRun)]);
561  }

References establishModule(), edm::StreamContext::kBeginRun, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ preModuleStreamEndLumi()

void MessageLogger::preModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 593 of file MessageLogger.cc.

593  {
594  establishModule(stream.streamID().value(),
595  mod,
596  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndLuminosityBlock)]);
597  }

References establishModule(), edm::StreamContext::kEndLuminosityBlock, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ preModuleStreamEndRun()

void MessageLogger::preModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 602 of file MessageLogger.cc.

602  {
603  establishModule(stream.streamID().value(),
604  mod,
605  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndRun)]); // ChangeLog 13
606  }

References establishModule(), edm::StreamContext::kEndRun, mod(), and cms::cuda::stream.

Referenced by MessageLogger().

◆ prePathEvent()

void MessageLogger::prePathEvent ( StreamContext const &  stream,
PathContext const &  iPath 
)
private

Definition at line 773 of file MessageLogger.cc.

774  {
775  auto messageDrop = edm::MessageDrop::instance();
776  messageDrop->runEvent = transitionInfoCache_[stream.streamID().value()].begin();
777  messageDrop->setPath("PreProcPath ", iPath.pathName());
778  // change log 17
779  }

References edm::MessageDrop::instance(), edm::PathContext::pathName(), cms::cuda::stream, and transitionInfoCache_.

Referenced by MessageLogger().

◆ preSourceConstruction()

void MessageLogger::preSourceConstruction ( ModuleDescription const &  desc)
private

Definition at line 535 of file MessageLogger.cc.

535  {
536  if (!messageServicePSetHasBeenValidated_) { // change log 12
539  }
541  }
542  establishModule(desc, "@sourceConstruction"); // ChangeLog 16
543  }

References edm::errors::Configuration, establishModule(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.

Referenced by MessageLogger().

◆ preSourceEvent()

void MessageLogger::preSourceEvent ( StreamID  )
private

Definition at line 674 of file MessageLogger.cc.

674  {
675  establish("source");
676  MessageDrop::instance()->runEvent = "PreSource";
677  }

References establish(), edm::MessageDrop::instance(), and edm::MessageDrop::runEvent.

Referenced by MessageLogger().

◆ preSourceRunLumi()

void MessageLogger::preSourceRunLumi ( )
private

Definition at line 682 of file MessageLogger.cc.

682 { establish("source"); }

References establish().

Referenced by MessageLogger().

◆ preStreamBeginLumi()

void MessageLogger::preStreamBeginLumi ( StreamContext const &  iContext)
private

Definition at line 732 of file MessageLogger.cc.

732  {
733  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
734  auto const& id = iContext.eventID();
735  auto v = fill_buffer(
736  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
738  edm::MessageDrop::instance()->setSinglet("PreStreamBeginLumi"); // changelog 17
739  }

References edmScanValgrind::buffer, edm::StreamContext::eventID(), edm::MessageDrop::instance(), writedatasetfile::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

◆ preStreamBeginRun()

void MessageLogger::preStreamBeginRun ( StreamContext const &  iContext)
private

Definition at line 705 of file MessageLogger.cc.

706  {
707  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
708  auto v = fill_buffer(buffer, "Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
709 
711  edm::MessageDrop::instance()->setSinglet("PreStreamBeginRun"); // changelog 17
712  }

References edmScanValgrind::buffer, edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

◆ preStreamEndLumi()

void MessageLogger::preStreamEndLumi ( StreamContext const &  iContext)
private

Definition at line 746 of file MessageLogger.cc.

746  {
747  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
748  auto const& id = iContext.eventID();
749  auto v = fill_buffer(
750  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
751 
753  edm::MessageDrop::instance()->setSinglet("PreStreamEndLumi"); // changelog 17
754  }

References edmScanValgrind::buffer, edm::StreamContext::eventID(), edm::MessageDrop::instance(), writedatasetfile::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

◆ preStreamEndRun()

void MessageLogger::preStreamEndRun ( StreamContext const &  iContext)
private

Definition at line 719 of file MessageLogger.cc.

719  {
720  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
721  auto v = fill_buffer(buffer, "End Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
722 
724  edm::MessageDrop::instance()->setSinglet("PreStreamEndRun"); // changelog 17
725  }

References edmScanValgrind::buffer, edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

◆ SummarizeInJobReport()

void MessageLogger::SummarizeInJobReport ( )
static

Definition at line 843 of file MessageLogger.cc.

843  {
844  if (fjrSummaryRequested_) {
845  std::map<std::string, double>* smp = new std::map<std::string, double>();
847  Service<JobReport> reportSvc;
848  reportSvc->reportMessageInfo(*smp);
849  delete smp;
850  }
851  }

References fjrSummaryRequested_, edm::MessageLoggerQ::MLqJRS(), and edm::JobReport::reportMessageInfo().

Referenced by jobFailure(), and postEndJob().

◆ unEstablish()

void MessageLogger::unEstablish ( const char *  whichPhase)
private

Definition at line 505 of file MessageLogger.cc.

505  {
506  MessageDrop::instance()->setSinglet(state); // Change Log 17
507  }

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by postFile(), postSourceEvent(), and postSourceRunLumi().

◆ unEstablishModule() [1/2]

void MessageLogger::unEstablishModule ( const ModuleCallingContext desc,
const char *  whichPhase 
)
private

Definition at line 442 of file MessageLogger.cc.

442  {
443  //Need to reset to what was previously being used on this thread
444  auto previous = mod.previousModuleOnThread();
445  if (previous) {
446  //need to know if we are in a global or stream context
447  auto top = previous->getTopModuleCallingContext();
448  assert(nullptr != top);
449  if (ParentContext::Type::kGlobal == top->type()) {
450  auto globalContext = top->globalContext();
451  assert(nullptr != globalContext);
452  auto tran = globalContext->transition();
455  establishModule(lumiInfoBegin_ + globalContext->luminosityBlockIndex(),
456  *previous,
457  s_globalTransitionNames[static_cast<int>(tran)]);
458  } else {
460  runInfoBegin_ + globalContext->runIndex(), *previous, s_globalTransitionNames[static_cast<int>(tran)]);
461  }
462  } else {
463  auto stream = previous->getStreamContext();
465  stream->streamID().value(), *previous, s_streamTransitionNames[static_cast<int>(stream->transition())]);
466  }
467  } else {
468  MessageDrop* messageDrop = MessageDrop::instance();
470  messageDrop->setSinglet(state); // Change Log 17
471  messageDrop->debugEnabled = nonModule_debugEnabled;
472  messageDrop->infoEnabled = nonModule_infoEnabled;
474  messageDrop->errorEnabled = nonModule_errorEnabled; // change log 20
475  }
476 
477  // std::cerr << "unestablishModule( " << desc.moduleName() << ") "
478  // << "state = " << *state << "\n";
479  }

References cms::cuda::assert(), edm::MessageDrop::debugEnabled, edm::MessageDrop::errorEnabled, establishModule(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kEndLuminosityBlock, edm::ParentContext::kGlobal, lumiInfoBegin_, SiStripPI::max, mod(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, or, runInfoBegin_, edm::MessageDrop::setSinglet(), cms::cuda::stream, edm::MessageDrop::streamID, and edm::MessageDrop::warningEnabled.

◆ unEstablishModule() [2/2]

void MessageLogger::unEstablishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Member Data Documentation

◆ anyDebugEnabled_

bool MessageLogger::anyDebugEnabled_ = false
staticprivate

Definition at line 159 of file MessageLogger.h.

Referenced by anyDebugEnabled(), establish(), establishModule(), and MessageLogger().

◆ debugEnabled_

bool edm::service::MessageLogger::debugEnabled_
private

Definition at line 158 of file MessageLogger.h.

Referenced by debugEnabled().

◆ debugEnabledModules_

std::set<std::string> edm::service::MessageLogger::debugEnabledModules_
private

Definition at line 156 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

◆ everyDebugEnabled_

bool MessageLogger::everyDebugEnabled_ = false
staticprivate

Definition at line 160 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

◆ fjrSummaryRequested_

bool MessageLogger::fjrSummaryRequested_ = false
staticprivate

Definition at line 162 of file MessageLogger.h.

Referenced by MessageLogger(), and SummarizeInJobReport().

◆ lumiInfoBegin_

unsigned int edm::service::MessageLogger::lumiInfoBegin_ = 0
private

◆ messageServicePSetHasBeenValidated_

bool edm::service::MessageLogger::messageServicePSetHasBeenValidated_
private

Definition at line 163 of file MessageLogger.h.

Referenced by preModuleConstruction(), and preSourceConstruction().

◆ messageServicePSetValidatationResults_

std::string edm::service::MessageLogger::messageServicePSetValidatationResults_
private

Definition at line 164 of file MessageLogger.h.

Referenced by MessageLogger(), preModuleConstruction(), and preSourceConstruction().

◆ nonModule_debugEnabled

bool edm::service::MessageLogger::nonModule_debugEnabled
private

Definition at line 166 of file MessageLogger.h.

Referenced by MessageLogger(), and unEstablishModule().

◆ nonModule_errorEnabled

bool edm::service::MessageLogger::nonModule_errorEnabled
private

Definition at line 169 of file MessageLogger.h.

Referenced by MessageLogger(), and unEstablishModule().

◆ nonModule_infoEnabled

bool edm::service::MessageLogger::nonModule_infoEnabled
private

Definition at line 167 of file MessageLogger.h.

Referenced by MessageLogger(), and unEstablishModule().

◆ nonModule_warningEnabled

bool edm::service::MessageLogger::nonModule_warningEnabled
private

Definition at line 168 of file MessageLogger.h.

Referenced by MessageLogger(), and unEstablishModule().

◆ runInfoBegin_

unsigned int edm::service::MessageLogger::runInfoBegin_ = 0
private

◆ suppression_levels_

std::map<std::string, ELseverityLevel> edm::service::MessageLogger::suppression_levels_
private

Definition at line 157 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

◆ transitionInfoCache_

std::vector<std::array<char, 64> > edm::service::MessageLogger::transitionInfoCache_
private
edm::ActivityRegistry::watchPreModuleEndStream
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
Definition: ActivityRegistry.h:258
edm::MessageLoggerQ::MLqCFG
static void MLqCFG(ParameterSet *p)
Definition: MessageLoggerQ.cc:160
edm::service::MessageLogger::suppression_levels_
std::map< std::string, ELseverityLevel > suppression_levels_
Definition: MessageLogger.h:157
edm::ActivityRegistry::watchPreModuleBeginStream
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
Definition: ActivityRegistry.h:244
edm::ModuleDescription::moduleLabel
std::string const & moduleLabel() const
Definition: ModuleDescription.h:43
edm::service::MessageLogger::preModuleStreamBeginRun
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:557
edm::ActivityRegistry::watchPostStreamEndLumi
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:392
edm::ActivityRegistry::watchPostModuleGlobalEndRun
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:807
edm::service::MessageLogger::postStreamEndRun
void postStreamEndRun(StreamContext const &)
Definition: MessageLogger.cc:727
edm::service::MessageLogger::postModuleGlobalEndLumi
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:635
edm::service::MessageLogger::postModuleStreamEndLumi
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:598
edm::service::MessageLogger::preModuleBeginStream
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:548
edm::service::MessageLogger::preModuleEndJob
void preModuleEndJob(ModuleDescription const &)
Definition: MessageLogger.cc:658
edm::ActivityRegistry::watchPostSourceRun
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:212
edm::ActivityRegistry::watchPreSourceLumi
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:194
edm::service::MessageLogger::postModuleStreamBeginLumi
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:571
edm::ActivityRegistry::watchPostGlobalEndRun
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:290
edm::service::MessageLogger::postModuleStreamBeginRun
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:562
edm::MessageLoggerQ::MLqSUM
static void MLqSUM()
Definition: MessageLoggerQ.cc:162
edm::ActivityRegistry::watchPostModuleStreamBeginLumi
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:765
edm::MessageDrop::debugEnabled
bool debugEnabled
Definition: MessageDrop.h:103
edm::service::MessageLogger::messageServicePSetHasBeenValidated_
bool messageServicePSetHasBeenValidated_
Definition: MessageLogger.h:163
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
edm::service::MessageLogger::preModuleEvent
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:575
edm::service::MessageLogger::lumiInfoBegin_
unsigned int lumiInfoBegin_
Definition: MessageLogger.h:153
mod
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
edm::StreamContext::Transition::kBeginRun
edm::service::MessageLogger::postModuleBeginJob
void postModuleBeginJob(ModuleDescription const &)
Definition: MessageLogger.cc:531
edm::ActivityRegistry::watchPostGlobalEndLumi
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:352
edm::ActivityRegistry::watchPreModuleEndJob
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:641
edm::service::MessageLogger::messageServicePSetValidatationResults_
std::string messageServicePSetValidatationResults_
Definition: MessageLogger.h:164
edm::ModuleDescription::moduleName
std::string const & moduleName() const
Definition: ModuleDescription.h:42
edm::ActivityRegistry::watchJobFailure
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
Definition: ActivityRegistry.h:176
edm::service::MessageLogger::postGlobalEndRun
void postGlobalEndRun(GlobalContext const &)
Definition: MessageLogger.cc:792
edm::service::MessageLogger::postPathEvent
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: MessageLogger.cc:781
edm::service::MessageLogger::preFile
void preFile(std::string const &, bool)
Definition: MessageLogger.cc:685
edm::service::MessageLogger::preStreamBeginLumi
void preStreamBeginLumi(StreamContext const &)
Definition: MessageLogger.cc:732
edm::service::MessageLogger::runInfoBegin_
unsigned int runInfoBegin_
Definition: MessageLogger.h:154
edm::ActivityRegistry::watchPostOpenFile
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
Definition: ActivityRegistry.h:225
cms::cuda::assert
assert(be >=bs)
edm::service::MessageLogger::preSourceConstruction
void preSourceConstruction(ModuleDescription const &)
Definition: MessageLogger.cc:535
edm::ActivityRegistry::watchPostModuleGlobalBeginRun
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:793
edm::service::MessageLogger::postEvent
void postEvent(StreamContext const &)
Definition: MessageLogger.cc:700
edm::service::MessageLogger::preModuleBeginJob
void preModuleBeginJob(ModuleDescription const &)
Definition: MessageLogger.cc:528
edm::StreamContext::Transition::kEndRun
edm::ParentContext::Type::kGlobal
edm::service::MessageLogger::postModuleGlobalBeginRun
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:617
edm::ActivityRegistry::watchPostModuleStreamEndRun
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:751
edm::service::MessageLogger::postGlobalBeginRun
void postGlobalBeginRun(GlobalContext const &)
Definition: MessageLogger.cc:767
edm::ActivityRegistry::watchPreModuleStreamBeginRun
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:730
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::service::MessageLogger::postFile
void postFile(std::string const &, bool)
Definition: MessageLogger.cc:687
edm::ActivityRegistry::watchPreStreamBeginRun
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:309
edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:37
edm::GlobalContext::Transition::kEndRun
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::ActivityRegistry::watchPostModuleBeginStream
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
Definition: ActivityRegistry.h:251
edm::service::MessageLogger::postModuleEndStream
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:653
edm::service::MessageLogger::preStreamEndRun
void preStreamEndRun(StreamContext const &)
Definition: MessageLogger.cc:719
edm::service::MessageLogger::postGlobalEndLumi
void postGlobalEndLumi(GlobalContext const &)
Definition: MessageLogger.cc:817
edm::setMaxLoggedErrorsSummaryIndicies
void setMaxLoggedErrorsSummaryIndicies(unsigned int iMax)
Definition: MessageSender.cc:185
edm::Exception
Definition: EDMException.h:77
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
edm::ActivityRegistry::watchPostSourceEvent
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:188
edm::ActivityRegistry::watchPreCloseFile
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
Definition: ActivityRegistry.h:233
edm::ActivityRegistry::watchPostModuleEndJob
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:647
edm::ActivityRegistry::watchPostCloseFile
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
Definition: ActivityRegistry.h:239
edm::service::MessageLogger::postSourceConstruction
void postSourceConstruction(ModuleDescription const &)
Definition: MessageLogger.cc:544
edm::ActivityRegistry::watchPreModuleGlobalBeginLumi
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:814
edm::service::MessageLogger::preModuleGlobalBeginLumi
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:621
edm::MessageDrop::warningEnabled
bool warningEnabled
Definition: MessageDrop.h:105
edm::ActivityRegistry::watchPreModuleStreamEndLumi
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:772
edm::MessageDrop::setModuleWithPhase
void setModuleWithPhase(std::string const &name, std::string const &label, unsigned int moduleID, const char *phase)
Definition: MessageDrop.cc:181
edm::service::MessageLogger::prePathEvent
void prePathEvent(StreamContext const &, PathContext const &)
Definition: MessageLogger.cc:773
edm::service::MessageLogger::postModuleEndJob
void postModuleEndJob(ModuleDescription const &)
Definition: MessageLogger.cc:661
edm::ActivityRegistry::watchPostEndJob
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:168
edm::ActivityRegistry::watchPreStreamBeginLumi
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:373
edm::LuminosityBlockIndex
Definition: LuminosityBlockIndex.h:33
edm::service::MessageLogger::anyDebugEnabled_
static bool anyDebugEnabled_
Definition: MessageLogger.h:159
edm::JobReport::reportMessageInfo
void reportMessageInfo(std::map< std::string, double > const &messageData)
Definition: JobReport.cc:555
edm::service::MessageLogger::preEndJob
void preEndJob()
Definition: MessageLogger.cc:822
edm::ActivityRegistry::watchPostModuleEndStream
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
Definition: ActivityRegistry.h:265
edm::service::SystemBounds::maxNumberOfConcurrentRuns
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:36
edm::MessageDrop::streamID
unsigned int streamID
Definition: MessageDrop.h:102
edm::service::MessageLogger::postSourceRunLumi
void postSourceRunLumi()
Definition: MessageLogger.cc:683
edm::ActivityRegistry::watchPreEvent
void watchPreEvent(PreEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:400
edm::ActivityRegistry::watchPostStreamBeginRun
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:314
edm::clearLoggedErrorsSummary
void clearLoggedErrorsSummary(unsigned int iStreamID)
Definition: MessageSender.cc:180
edm::service::MessageLogger::preModuleGlobalEndRun
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:639
edm::service::MessageLogger::postEndJob
void postEndJob()
Definition: MessageLogger.cc:827
edm::service::MessageLogger::unEstablish
void unEstablish(const char *whichPhase)
Definition: MessageLogger.cc:505
edm::StreamContext::Transition::kBeginLuminosityBlock
edm::service::MessageLogger::transitionInfoCache_
std::vector< std::array< char, 64 > > transitionInfoCache_
Definition: MessageLogger.h:152
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.suppressInfo
suppressInfo
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
edm::GlobalContext::Transition::kEndLuminosityBlock
edm::service::MessageLogger::establish
void establish(const char *whichPhase)
Definition: MessageLogger.cc:481
edm::ActivityRegistry::watchPostBeginJob
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Definition: ActivityRegistry.h:156
edm::service::MessageServicePSetValidation
Definition: MessageServicePSetValidation.h:42
edm::StreamContext::Transition::kEndLuminosityBlock
edm::ActivityRegistry::watchPreModuleStreamBeginLumi
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:758
edm::service::MessageLogger::preGlobalEndRun
void preGlobalEndRun(GlobalContext const &)
Definition: MessageLogger.cc:785
edm::ActivityRegistry::watchPostModuleBeginJob
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:633
edm::service::MessageLogger::postModuleStreamEndRun
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:607
edm::ELseverityLevel::ELsev_error
Definition: ELseverityLevel.h:112
edm::ActivityRegistry::watchPostModuleConstruction
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
Definition: ActivityRegistry.h:618
edm::ActivityRegistry::watchPreGlobalEndRun
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:285
edm::ActivityRegistry::watchPreEndJob
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:162
edm::ActivityRegistry::watchPreSourceConstruction
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
Definition: ActivityRegistry.h:949
edm::ActivityRegistry::watchPreSourceRun
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:206
edm::service::MessageLogger::nonModule_errorEnabled
bool nonModule_errorEnabled
Definition: MessageLogger.h:169
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ActivityRegistry::watchPostSourceLumi
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:200
edm::service::MessageLogger::debugEnabledModules_
std::set< std::string > debugEnabledModules_
Definition: MessageLogger.h:156
edm::ActivityRegistry::watchPreModuleGlobalEndLumi
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:828
edm::ActivityRegistry::watchPreModuleStreamEndRun
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:744
edm::service::SystemBounds
Definition: SystemBounds.h:29
edm::service::MessageLogger::nonModule_warningEnabled
bool nonModule_warningEnabled
Definition: MessageLogger.h:168
edm::ActivityRegistry::watchPostEvent
void watchPostEvent(PostEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:406
edm::service::MessageLogger::postModuleEventAcquire
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:589
edm::ParameterSet
Definition: ParameterSet.h:36
edm::ActivityRegistry::watchPostModuleGlobalEndLumi
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:835
edm::ELseverityLevel::ELsev_warning
Definition: ELseverityLevel.h:110
edm::service::MessageLogger::postModuleGlobalBeginLumi
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:626
edm::service::MessageLogger::unEstablishModule
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
Definition: MessageLogger.cc:430
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
edm::service::MessageLogger::preGlobalBeginLumi
void preGlobalBeginLumi(GlobalContext const &)
Definition: MessageLogger.cc:797
edm::service::MessageLogger::preModuleEndStream
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:648
edm::ActivityRegistry::watchPreStreamEndLumi
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:387
edm::service::MessageLogger::SummarizeInJobReport
static void SummarizeInJobReport()
Definition: MessageLogger.cc:843
edm::service::MessageLogger::postBeginJob
void postBeginJob()
Definition: MessageLogger.cc:669
edm::MessageDrop::runEvent
std::string_view runEvent
Definition: MessageDrop.h:101
edm::service::MessageLogger::preStreamBeginRun
void preStreamBeginRun(StreamContext const &)
Definition: MessageLogger.cc:705
edm::Service
Definition: Service.h:30
edm::GlobalContext::Transition::kBeginLuminosityBlock
edm::ActivityRegistry::watchPreModuleConstruction
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
Definition: ActivityRegistry.h:609
edm::ActivityRegistry::watchPostGlobalBeginLumi
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:340
edm::service::MessageLogger::preModuleGlobalBeginRun
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:612
edm::service::MessageLogger::preModuleConstruction
void preModuleConstruction(ModuleDescription const &)
Definition: MessageLogger.cc:513
edm::MessageDrop
Definition: MessageDrop.h:85
edm::service::SystemBounds::maxNumberOfStreams
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:35
edm::MessageDrop::setSinglet
void setSinglet(const char *sing)
Definition: MessageDrop.cc:194
edm::service::MessageLogger::postModuleGlobalEndRun
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:644
edm::service::MessageLogger::preModuleStreamEndLumi
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:593
edm::StreamContext::Transition::kEvent
edm::ELseverityLevel::ELsev_success
Definition: ELseverityLevel.h:106
edm::ActivityRegistry::watchPostPathEvent
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:418
edm::ActivityRegistry::watchPreModuleGlobalEndRun
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:800
edm::MessageDrop::errorEnabled
bool errorEnabled
Definition: MessageDrop.h:106
edm::ActivityRegistry::watchPostModuleStreamEndLumi
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:779
edm::service::MessageLogger::debugEnabled_
bool debugEnabled_
Definition: MessageLogger.h:158
edm::service::MessageLogger::postGlobalBeginLumi
void postGlobalBeginLumi(GlobalContext const &)
Definition: MessageLogger.cc:805
edm::service::MessageLogger::jobFailure
void jobFailure()
Definition: MessageLogger.cc:832
edm::MessageLoggerQ::MLqMOD
static void MLqMOD(std::string *jm)
Definition: MessageLoggerQ.cc:164
edm::service::MessageLogger::preModuleGlobalEndLumi
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:630
edm::service::MessageLogger::postSourceEvent
void postSourceEvent(StreamID)
Definition: MessageLogger.cc:678
edm::ActivityRegistry::watchPreGlobalEndLumi
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:347
edm::ActivityRegistry::watchPreallocate
void watchPreallocate(Preallocate::slot_type const &iSlot)
Definition: ActivityRegistry.h:142
edm::ActivityRegistry::watchPostStreamBeginLumi
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:380
writedatasetfile.run
run
Definition: writedatasetfile.py:27
edm::ActivityRegistry::watchPreGlobalBeginLumi
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:333
edm::ActivityRegistry::watchPreModuleBeginJob
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:627
Log4cplus_cff.suppressWarning
suppressWarning
Definition: Log4cplus_cff.py:6
edm::ActivityRegistry::watchPreOpenFile
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
Definition: ActivityRegistry.h:218
edm::ActivityRegistry::watchPostModuleEvent
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:677
edm::ActivityRegistry::watchPreStreamEndRun
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:321
edm::ActivityRegistry::watchPreModuleGlobalBeginRun
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:786
edm::ActivityRegistry::watchPostGlobalBeginRun
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:278
edm::service::MessageLogger::preModuleStreamEndRun
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:602
edm::service::MessageLogger::preSourceEvent
void preSourceEvent(StreamID)
Definition: MessageLogger.cc:674
edm::ActivityRegistry::watchPostModuleEventAcquire
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
Definition: ActivityRegistry.h:691
edm::ActivityRegistry::watchPreSourceEvent
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:182
edm::MessageDrop::instance
static MessageDrop * instance()
Definition: MessageDrop.cc:60
edm::service::MessageLogger::fjrSummaryRequested_
static bool fjrSummaryRequested_
Definition: MessageLogger.h:162
edm::service::MessageLogger::postModuleConstruction
void postModuleConstruction(ModuleDescription const &)
Definition: MessageLogger.cc:522
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::MessageDrop::jobMode
static std::string jobMode
Definition: MessageDrop.h:108
edm::RunIndex
Definition: RunIndex.h:32
edm::service::MessageLogger::preSourceRunLumi
void preSourceRunLumi()
Definition: MessageLogger.cc:682
edm::ActivityRegistry::watchPostModuleGlobalBeginLumi
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
Definition: ActivityRegistry.h:821
edm::service::MessageLogger::preModuleStreamBeginLumi
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:566
edm::service::MessageLogger::preEvent
void preEvent(StreamContext const &)
Definition: MessageLogger.cc:689
edm::service::MessageLogger::preGlobalBeginRun
void preGlobalBeginRun(GlobalContext const &)
Definition: MessageLogger.cc:760
cms::Exception
Definition: Exception.h:70
edm::ActivityRegistry::watchPreGlobalBeginRun
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:273
edm::service::MessageLogger::preGlobalEndLumi
void preGlobalEndLumi(GlobalContext const &)
Definition: MessageLogger.cc:810
edm::service::MessageLogger::postStreamEndLumi
void postStreamEndLumi(StreamContext const &)
Definition: MessageLogger.cc:755
edm::service::MessageLogger::postModuleBeginStream
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:552
edm::ActivityRegistry::watchPrePathEvent
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:412
edm::service::MessageLogger::preStreamEndLumi
void preStreamEndLumi(StreamContext const &)
Definition: MessageLogger.cc:746
edm::service::MessageLogger::nonModule_debugEnabled
bool nonModule_debugEnabled
Definition: MessageLogger.h:166
Log4cplus_cff.suppressDebug
suppressDebug
Definition: Log4cplus_cff.py:12
edm::ActivityRegistry::watchPreModuleEventAcquire
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
Definition: ActivityRegistry.h:683
edm::service::MessageLogger::postStreamBeginRun
void postStreamBeginRun(StreamContext const &)
Definition: MessageLogger.cc:713
event
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of "!*" before the partial wildcard feature was incorporated). The per-event "cost" of each negative criterion with multiple relevant triggers is about the same as ! *was in the past
remoteMonitoring_LED_IterMethod_cfg.debugModules
debugModules
Definition: remoteMonitoring_LED_IterMethod_cfg.py:424
edm::errors::Configuration
Definition: EDMException.h:36
edm::ActivityRegistry::watchPostSourceConstruction
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
Definition: ActivityRegistry.h:958
edm::GlobalContext::Transition::kBeginRun
edm::ActivityRegistry::watchPostModuleStreamBeginRun
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:737
edm::service::MessageLogger::nonModule_infoEnabled
bool nonModule_infoEnabled
Definition: MessageLogger.h:167
edm::ELseverityLevel::ELsev_info
Definition: ELseverityLevel.h:108
edm::ActivityRegistry::watchPostStreamEndRun
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
Definition: ActivityRegistry.h:326
edm::MessageLoggerQ::MLqJRS
static void MLqJRS(std::map< std::string, double > *sum_p)
Definition: MessageLoggerQ.cc:182
edm::ActivityRegistry::watchPreModuleEvent
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:671
edm::service::MessageLogger::postModuleEvent
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:580
edm::service::MessageLogger::postStreamBeginLumi
void postStreamBeginLumi(StreamContext const &)
Definition: MessageLogger.cc:741
edm::MessageDrop::infoEnabled
bool infoEnabled
Definition: MessageDrop.h:104
edm::service::MessageLogger::establishModule
void establishModule(const ModuleDescription &desc, const char *whichPhase)
Definition: MessageLogger.cc:359
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleDescription::id
unsigned int id() const
Definition: ModuleDescription.h:46
edm::service::MessageLogger::preFileClose
void preFileClose(std::string const &, bool)
Definition: MessageLogger.cc:686
edm::service::MessageLogger::preModuleEventAcquire
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: MessageLogger.cc:584
edm::service::MessageLogger::everyDebugEnabled_
static bool everyDebugEnabled_
Definition: MessageLogger.h:160