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 ModuleDescription &desc, const char *whichPhase)
 
void unEstablishModule (const ModuleCallingContext &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 ( ParameterSet const &  iPS,
ActivityRegistry iRegistry 
)

Definition at line 166 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, hlt_jetmet_dqm_QT_fromfile_cfg::debugModules, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, establishModule(), everyDebugEnabled_, fjrSummaryRequested_, edm::ModuleCallingContext::getTopModuleCallingContext(), edm::ParameterSet::getUntrackedParameter(), edm::ModuleDescription::id(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), jobFailure(), edm::MessageDrop::jobMode, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kEndLuminosityBlock, edm::ParentContext::kGlobal, lumiInfoBegin_, SiStripPI::max, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), messageServicePSetValidatationResults_, edm::MessageLoggerQ::MLqCFG(), edm::MessageLoggerQ::MLqMOD(), mod(), edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, or, 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(), edm::ModuleCallingContext::previousModuleOnThread(), edm::MessageDrop::runEvent, runInfoBegin_, edm::setMaxLoggedErrorsSummaryIndicies(), edm::MessageDrop::setModuleWithPhase(), edm::MessageDrop::setSinglet(), edm::MessageDrop::streamID, AlCaHLTBitMon_QueryRunRegistry::string, Log4cplus_cff::suppressDebug, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::suppressInfo, suppression_levels_, Log4cplus_cff::suppressWarning, transitionInfoCache_, unEstablishModule(), 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().

167  : debugEnabled_(false),
170  nonModule_debugEnabled(false),
171  nonModule_infoEnabled(true),
173  nonModule_errorEnabled(true) // change log 20
174  {
175  // prepare cfg validation string for later use
177  messageServicePSetValidatationResults_ = validator(iPS); // change log 12
178 
179  typedef std::vector<std::string> vString;
180  vString empty_vString;
181  vString debugModules;
182  vString suppressDebug;
183  vString suppressInfo;
184  vString suppressWarning;
185  vString suppressError; // change log 20
186 
187  try { // change log 13
188  // decide whether a summary should be placed in job report
189  fjrSummaryRequested_ = iPS.getUntrackedParameter<bool>("messageSummaryToJobReport", false);
190 
191  // grab list of debug-enabled modules
192  debugModules = iPS.getUntrackedParameter<vString>("debugModules", empty_vString);
193 
194  // grab lists of suppressLEVEL modules
195  suppressDebug = iPS.getUntrackedParameter<vString>("suppressDebug", empty_vString);
196 
197  suppressInfo = iPS.getUntrackedParameter<vString>("suppressInfo", empty_vString);
198 
199  suppressWarning = iPS.getUntrackedParameter<vString>("suppressWarning", empty_vString);
200 
201  suppressError = // change log 20
202  iPS.getUntrackedParameter<vString>("suppressError", empty_vString);
203  } catch (cms::Exception& e) { // change log 13
204  }
205 
206  // Use these lists to prepare a map to use in tracking suppression
207 
208  // Do suppressDebug first and suppressError last to get proper order
209  for (vString::const_iterator it = suppressDebug.begin(); it != suppressDebug.end(); ++it) {
211  }
212 
213  for (vString::const_iterator it = suppressInfo.begin(); it != suppressInfo.end(); ++it) {
215  }
216 
217  for (vString::const_iterator it = suppressWarning.begin(); it != suppressWarning.end(); ++it) {
219  }
220 
221  for (vString::const_iterator it = suppressError.begin(); // change log 20
222  it != suppressError.end();
223  ++it) {
225  }
226 
227  // set up for tracking whether current module is debug-enabled
228  // (and info-enabled and warning-enabled)
229  if (debugModules.empty()) {
230  anyDebugEnabled_ = false; // change log 11
231  MessageDrop::instance()->debugEnabled = false; // change log 1
232  } else {
233  anyDebugEnabled_ = true; // change log 11
235  // this will be over-ridden when specific modules are entered
236  }
237 
238  // if ( debugModules.empty()) anyDebugEnabled_ = true; // wrong; change log 11
239  for (vString::const_iterator it = debugModules.begin(); it != debugModules.end(); ++it) {
240  if (*it == "*") {
241  everyDebugEnabled_ = true;
242  } else {
243  debugEnabledModules_.insert(*it);
244  }
245  }
246 
247  // change log 7
249  std::string* jm_p = new std::string(jm);
250  MessageLoggerQ::MLqMOD(jm_p); // change log 9
251 
252  MessageLoggerQ::MLqCFG(new ParameterSet(iPS)); // change log 9
253 
254  iRegistry.watchPreallocate([this](edm::service::SystemBounds const& iBounds) {
255  //reserve the proper amount of space to record the transition info
256  this->transitionInfoCache_.resize(iBounds.maxNumberOfStreams() +
258  iBounds.maxNumberOfConcurrentRuns());
261 
263  });
264 
266  iRegistry.watchPreEndJob(this, &MessageLogger::preEndJob);
267  iRegistry.watchPostEndJob(this, &MessageLogger::postEndJob);
268  iRegistry.watchJobFailure(this, &MessageLogger::jobFailure); // change log 14
269 
272  // change log 3
273 
276  // change log 3
277 
280 
283 
286  // change log 14:
287  iRegistry.watchPreSourceRun([this](RunIndex) { preSourceRunLumi(); });
288  iRegistry.watchPostSourceRun([this](RunIndex) { postSourceRunLumi(); });
289  iRegistry.watchPreSourceLumi([this](LuminosityBlockIndex) { preSourceRunLumi(); });
291  iRegistry.watchPreOpenFile(this, &MessageLogger::preFile);
292  iRegistry.watchPostOpenFile(this, &MessageLogger::postFile);
295 
296  // change log 13:
297  // change log 15
302 
307 
316 
325 
326  iRegistry.watchPreEvent(this, &MessageLogger::preEvent);
327  iRegistry.watchPostEvent(this, &MessageLogger::postEvent);
328 
337 
346 
349 
350  MessageDrop* messageDrop = MessageDrop::instance();
351  nonModule_debugEnabled = messageDrop->debugEnabled;
352  nonModule_infoEnabled = messageDrop->infoEnabled;
354  nonModule_errorEnabled = messageDrop->errorEnabled;
355  } // ctor
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
std::vector< std::array< char, 64 > > transitionInfoCache_
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
void preModuleEndJob(ModuleDescription const &)
void postGlobalEndRun(GlobalContext const &)
void watchPreEvent(PreEvent::slot_type const &iSlot)
void postStreamBeginLumi(StreamContext const &)
void preStreamEndLumi(StreamContext const &)
void preStreamBeginLumi(StreamContext const &)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void watchPreallocate(Preallocate::slot_type const &iSlot)
void postModuleConstruction(ModuleDescription const &)
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postGlobalBeginLumi(GlobalContext const &)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void preModuleBeginJob(ModuleDescription const &)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostEvent(PostEvent::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
static std::string jobMode
Definition: MessageDrop.h:108
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void preSourceConstruction(ModuleDescription const &)
void setMaxLoggedErrorsSummaryIndicies(unsigned int iMax)
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void preGlobalBeginLumi(GlobalContext const &)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postStreamEndRun(StreamContext const &)
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void preGlobalBeginRun(GlobalContext const &)
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:35
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void postEvent(StreamContext const &)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void preFileClose(std::string const &, bool)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
static void MLqCFG(ParameterSet *p)
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &)
void postStreamBeginRun(StreamContext const &)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void postStreamEndLumi(StreamContext const &)
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
std::map< std::string, ELseverityLevel > suppression_levels_
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:37
std::set< std::string > debugEnabledModules_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceConstruction(ModuleDescription const &)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
static void MLqMOD(std::string *jm)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
void postModuleEndJob(ModuleDescription const &)
void preStreamEndRun(StreamContext const &)
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postModuleBeginJob(ModuleDescription const &)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:36
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void preFile(std::string const &, bool)
void postGlobalEndLumi(GlobalContext const &)
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void preGlobalEndRun(GlobalContext const &)
void preEvent(StreamContext const &)
std::string messageServicePSetValidatationResults_
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void preStreamBeginRun(StreamContext const &)
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void postFile(std::string const &, bool)

Member Function Documentation

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

Definition at line 54 of file MessageLogger.h.

References anyDebugEnabled_, establish(), establishModule(), jobFailure(), 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(), AlCaHLTBitMon_QueryRunRegistry::string, SummarizeInJobReport(), unEstablish(), and unEstablishModule().

54 { return anyDebugEnabled_; }
bool edm::service::MessageLogger::debugEnabled ( ) const
inline

Definition at line 52 of file MessageLogger.h.

References debugEnabled_.

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

Definition at line 483 of file MessageLogger.cc.

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 anyDebugEnabled(), preFile(), preFileClose(), preSourceEvent(), and preSourceRunLumi().

483  {
484  MessageDrop* messageDrop = MessageDrop::instance();
485  messageDrop->setSinglet(state); // Change Log 17
486  if (!anyDebugEnabled_) {
487  messageDrop->debugEnabled = false;
488  } else if (everyDebugEnabled_) {
489  messageDrop->debugEnabled = true;
490  } else {
491  messageDrop->debugEnabled = debugEnabledModules_.count(state); // change log 8
492  }
493  std::map<const std::string, ELseverityLevel>::const_iterator it =
494  suppression_levels_.find(state); // change log 8
495  if (it != suppression_levels_.end()) {
496  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
497  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
498  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
499  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
500  } else {
501  messageDrop->infoEnabled = true;
502  messageDrop->warningEnabled = true;
503  messageDrop->errorEnabled = true;
504  }
505  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::map< std::string, ELseverityLevel > suppression_levels_
std::set< std::string > debugEnabledModules_
void edm::service::MessageLogger::establishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::establishModule ( unsigned int  transitionIndex,
const ModuleCallingContext context,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::fillErrorObj ( edm::ErrorObj obj) const
void MessageLogger::jobFailure ( )
private

Definition at line 831 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

831  {
832  MessageDrop* messageDrop = MessageDrop::instance();
833  messageDrop->setSinglet("jobFailure");
834  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
835  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
836  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
static void SummarizeInJobReport()
static void MLqSUM()
void MessageLogger::postBeginJob ( )
private

Definition at line 671 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

671  {
672  MessageDrop::instance()->runEvent = "BeforeEvents";
673  MessageDrop::instance()->setSinglet("AfterBeginJob"); // Change Log 17
674  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postEndJob ( )
private

Definition at line 826 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

826  {
827  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
828  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
829  }
static void SummarizeInJobReport()
static void MLqSUM()
void MessageLogger::postEvent ( StreamContext const &  iContext)
private

Definition at line 699 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

699  {
700  edm::MessageDrop::instance()->runEvent = "PostProcessEvent";
701  edm::clearLoggedErrorsSummary(iContext.streamID().value());
702  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void clearLoggedErrorsSummary(unsigned int iStreamID)
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postFile ( std::string const &  ,
bool   
)
private

Definition at line 686 of file MessageLogger.cc.

References unEstablish().

Referenced by anyDebugEnabled(), and MessageLogger().

686 { unEstablish("AfterFile"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postGlobalBeginLumi ( GlobalContext const &  )
private

Definition at line 804 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

804  {
805  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginLumi";
806  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginLumi"); // changelog 17
807  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postGlobalBeginRun ( GlobalContext const &  )
private

Definition at line 766 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

766  {
767  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginRun";
768  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginRun"); // changelog 17
769  // Note - module name had not been set here
770  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postGlobalEndLumi ( GlobalContext const &  )
private

Definition at line 816 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

816  {
817  edm::MessageDrop::instance()->runEvent = "PostGlobalEndLumi";
818  edm::MessageDrop::instance()->setSinglet("PostGlobalEndLumi"); // changelog 17
819  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postGlobalEndRun ( GlobalContext const &  )
private

Definition at line 791 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

791  {
792  edm::MessageDrop::instance()->runEvent = "PostGlobalEndRun";
793  edm::MessageDrop::instance()->setSinglet("PostGlobalEndRun"); // changelog 17
794  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postModuleBeginJob ( ModuleDescription const &  )
private

Definition at line 533 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

533  {
534  unEstablishModule(iDescription, "AfterModBeginJob");
535  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 554 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

554  {
555  ModuleDescription const& desc = *mcc.moduleDescription();
556  unEstablishModule(desc, "AfterModBeginStream");
557  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleConstruction ( ModuleDescription const &  )
private

Definition at line 524 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

526  { //it is now guaranteed that this will be called even if the module throws
527  unEstablishModule(iDescription, "AfterModConstruction");
528  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndJob ( ModuleDescription const &  )
private

Definition at line 663 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

663  {
664  unEstablishModule(iDescription, "AfterModEndJob");
665  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 655 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

655  {
656  ModuleDescription const& desc = *mcc.moduleDescription();
657  unEstablishModule(desc, "AfterModEndStream");
658  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 582 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

582  {
583  unEstablishModule(mod, "PostModuleEvent");
584  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 591 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

591  {
592  unEstablishModule(mod, "PostModuleEventAcquire");
593  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 628 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

628  {
629  unEstablishModule(mod, "AfterModGlobalBeginLumi");
630  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 619 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

619  {
620  unEstablishModule(mod, "AfterModGlobalBeginRun");
621  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 637 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

637  {
638  unEstablishModule(mod, "AfterModGlobalEndLumi");
639  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 646 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

646  {
647  unEstablishModule(mod, "AfterModGlobalEndRun");
648  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 573 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

573  {
574  unEstablishModule(mod, "AfterModStreamBeginLumi");
575  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 564 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

564  {
565  unEstablishModule(mod, "AfterModStreamBeginRun");
566  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 600 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

600  {
601  unEstablishModule(mod, "AfterModStreamEndLumi");
602  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 609 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

609  {
610  unEstablishModule(mod, "AfterModStreamEndRun");
611  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postPathEvent ( StreamContext const &  ,
PathContext const &  ,
HLTPathStatus const &   
)
private

Definition at line 780 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

780  {
781  edm::MessageDrop::instance()->setSinglet("PostProcessPath"); // changelog 17
782  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
void MessageLogger::postSourceConstruction ( ModuleDescription const &  )
private

Definition at line 546 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

546  {
547  unEstablishModule(iDescription, "AfterSourceConstruction");
548  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postSourceEvent ( StreamID  )
private

Definition at line 677 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

677  {
678  unEstablish("AfterSource");
679  MessageDrop::instance()->runEvent = "AfterSource";
680  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void unEstablish(const char *whichPhase)
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postSourceRunLumi ( )
private

Definition at line 682 of file MessageLogger.cc.

References unEstablish().

Referenced by anyDebugEnabled(), and MessageLogger().

682 { unEstablish("AfterSource"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postStreamBeginLumi ( StreamContext const &  )
private

Definition at line 740 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

740  {
741  edm::MessageDrop::instance()->runEvent = "PostStreamBeginLumi";
742  edm::MessageDrop::instance()->setSinglet("PostStreamBeginLumi"); // changelog 17
743  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postStreamBeginRun ( StreamContext const &  )
private

Definition at line 712 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

712  {
713  edm::MessageDrop::instance()->runEvent = "PostStreamBeginRun";
714  edm::MessageDrop::instance()->setSinglet("PostStreamBeginRun"); // changelog 17
715  // Note - module name had not been set here
716  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postStreamEndLumi ( StreamContext const &  )
private

Definition at line 754 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

754  {
755  edm::MessageDrop::instance()->runEvent = "PostStreamEndLumi";
756  edm::MessageDrop::instance()->setSinglet("PostStreamEndLumi"); // changelog 17
757  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::postStreamEndRun ( StreamContext const &  )
private

Definition at line 726 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

726  {
727  edm::MessageDrop::instance()->runEvent = "PostStreamEndRun";
728  edm::MessageDrop::instance()->setSinglet("PostStreaEndRun"); // changelog 17
729  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preEndJob ( )
private

Definition at line 821 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

821  {
822  edm::MessageDrop::instance()->runEvent = "EndJob";
823  edm::MessageDrop::instance()->setSinglet("EndJob"); // changelog
824  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preEvent ( StreamContext const &  iContext)
private

Definition at line 688 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

688  {
689  assert(iContext.streamID().value() < transitionInfoCache_.size());
690  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
691  auto const& id = iContext.eventID();
692  auto v = fill_buffer(buffer, "Run: ", id.run(), " Event: ", id.event());
694  edm::MessageDrop::instance()->setSinglet("PreEventProcessing"); // changelog 17
695  // Note - module name had not been set here Similarly in other places where
696  // RunEvent carries the new information; we add setSinglet for module name.
697  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
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
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preFile ( std::string const &  ,
bool   
)
private

Definition at line 684 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

684 { establish("file_open"); }
void establish(const char *whichPhase)
void MessageLogger::preFileClose ( std::string const &  ,
bool   
)
private

Definition at line 685 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

685 { establish("file_close"); }
void establish(const char *whichPhase)
void MessageLogger::preGlobalBeginLumi ( GlobalContext const &  iContext)
private

Definition at line 796 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

796  {
797  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
798  auto const& id = iContext.luminosityBlockID();
799  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
801  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginLumi"); // changelog 17
802  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preGlobalBeginRun ( GlobalContext const &  iContext)
private

Definition at line 759 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

760  {
761  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
762  auto v = fill_buffer(buffer, "Run: ", iContext.luminosityBlockID().run());
764  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginRun"); // changelog 17
765  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preGlobalEndLumi ( GlobalContext const &  iContext)
private

Definition at line 809 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

809  {
810  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
811  auto const& id = iContext.luminosityBlockID();
812  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
814  edm::MessageDrop::instance()->setSinglet("PreGlobalEndLumi"); // changelog 17
815  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preGlobalEndRun ( GlobalContext const &  iContext)
private

Definition at line 784 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

784  {
785  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
786  auto v = fill_buffer(buffer, "End Run: ", iContext.luminosityBlockID().run());
788  edm::MessageDrop::instance()->setSinglet("PreGlobalEndRun"); // changelog 17
789  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preModuleBeginJob ( ModuleDescription const &  )
private

Definition at line 530 of file MessageLogger.cc.

References establishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

530  {
531  establishModule(desc, "@beginJob"); // ChangeLog 13
532  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 550 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

550  {
551  ModuleDescription const& desc = *mcc.moduleDescription();
552  establishModule(desc, "@beginStream"); // ChangeLog 13
553  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleConstruction ( ModuleDescription const &  )
private

Definition at line 515 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

515  {
516  if (!messageServicePSetHasBeenValidated_) { // change log 12
519  }
521  }
522  establishModule(desc, "@ctor"); // ChangeLog 16
523  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preModuleEndJob ( ModuleDescription const &  )
private

Definition at line 660 of file MessageLogger.cc.

References establishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

660  {
661  establishModule(desc, "@endJob"); // ChangeLog 13
662  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 650 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

650  {
651  ModuleDescription const& desc = *mcc.moduleDescription();
652  establishModule(desc, "@endStream"); // ChangeLog 13
653  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 577 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

577  {
579  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
580  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 586 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

586  {
588  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
589  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 623 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

623  {
624  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
625  mod,
626  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginLuminosityBlock)]);
627  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 614 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

614  {
615  establishModule(runInfoBegin_ + context.runIndex().value(),
616  mod,
617  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginRun)]);
618  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 632 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

632  {
633  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
634  mod,
635  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndLuminosityBlock)]);
636  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 641 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

641  {
642  establishModule(runInfoBegin_ + context.runIndex().value(),
643  mod,
644  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndRun)]); // ChangeLog 13
645  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 568 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

568  {
569  establishModule(stream.streamID().value(),
570  mod,
571  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginLuminosityBlock)]);
572  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 559 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

559  {
560  establishModule(stream.streamID().value(),
561  mod,
562  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginRun)]);
563  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 595 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

595  {
596  establishModule(stream.streamID().value(),
597  mod,
598  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndLuminosityBlock)]);
599  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 604 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

604  {
605  establishModule(stream.streamID().value(),
606  mod,
607  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndRun)]); // ChangeLog 13
608  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::prePathEvent ( StreamContext const &  stream,
PathContext const &  iPath 
)
private

Definition at line 772 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::PathContext::pathName(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

773  {
774  auto messageDrop = edm::MessageDrop::instance();
775  messageDrop->runEvent = transitionInfoCache_[stream.streamID().value()].begin();
776  messageDrop->setPath("PreProcPath ", iPath.pathName());
777  // change log 17
778  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void MessageLogger::preSourceConstruction ( ModuleDescription const &  )
private

Definition at line 537 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), and MessageLogger().

537  {
538  if (!messageServicePSetHasBeenValidated_) { // change log 12
541  }
543  }
544  establishModule(desc, "@sourceConstruction"); // ChangeLog 16
545  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preSourceEvent ( StreamID  )
private

Definition at line 676 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

676 { establish("source"); }
void establish(const char *whichPhase)
void MessageLogger::preSourceRunLumi ( )
private

Definition at line 681 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

681 { establish("source"); }
void establish(const char *whichPhase)
void MessageLogger::preStreamBeginLumi ( StreamContext const &  iContext)
private

Definition at line 731 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

731  {
732  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
733  auto const& id = iContext.eventID();
734  auto v = fill_buffer(
735  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
737  edm::MessageDrop::instance()->setSinglet("PreStreamBeginLumi"); // changelog 17
738  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preStreamBeginRun ( StreamContext const &  iContext)
private

Definition at line 704 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

705  {
706  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
707  auto v = fill_buffer(buffer, "Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
708 
710  edm::MessageDrop::instance()->setSinglet("PreStreamBeginRun"); // changelog 17
711  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preStreamEndLumi ( StreamContext const &  iContext)
private

Definition at line 745 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

745  {
746  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
747  auto const& id = iContext.eventID();
748  auto v = fill_buffer(
749  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
750 
752  edm::MessageDrop::instance()->setSinglet("PreStreamEndLumi"); // changelog 17
753  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::preStreamEndRun ( StreamContext const &  iContext)
private

Definition at line 718 of file MessageLogger.cc.

References 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 anyDebugEnabled(), and MessageLogger().

718  {
719  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
720  auto v = fill_buffer(buffer, "End Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
721 
723  edm::MessageDrop::instance()->setSinglet("PreStreamEndRun"); // changelog 17
724  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
std::string_view runEvent
Definition: MessageDrop.h:101
void MessageLogger::SummarizeInJobReport ( )
static

Definition at line 842 of file MessageLogger.cc.

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

Referenced by anyDebugEnabled(), jobFailure(), and postEndJob().

842  {
843  if (fjrSummaryRequested_) {
844  std::map<std::string, double>* smp = new std::map<std::string, double>();
846  Service<JobReport> reportSvc;
847  reportSvc->reportMessageInfo(*smp);
848  delete smp;
849  }
850  }
static void MLqJRS(std::map< std::string, double > *sum_p)
void reportMessageInfo(std::map< std::string, double > const &messageData)
Definition: JobReport.cc:555
void MessageLogger::unEstablish ( const char *  whichPhase)
private

Definition at line 507 of file MessageLogger.cc.

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

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

507  {
508  MessageDrop::instance()->setSinglet(state); // Change Log 17
509  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
void setSinglet(const char *sing)
Definition: MessageDrop.cc:190
void edm::service::MessageLogger::unEstablishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::unEstablishModule ( const ModuleCallingContext desc,
const char *  whichPhase 
)
private

Member Data Documentation

bool MessageLogger::anyDebugEnabled_ = false
staticprivate

Definition at line 159 of file MessageLogger.h.

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

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

Definition at line 158 of file MessageLogger.h.

Referenced by debugEnabled().

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

Definition at line 156 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

bool MessageLogger::everyDebugEnabled_ = false
staticprivate

Definition at line 160 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

bool MessageLogger::fjrSummaryRequested_ = false
staticprivate

Definition at line 162 of file MessageLogger.h.

Referenced by MessageLogger(), and SummarizeInJobReport().

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

Definition at line 163 of file MessageLogger.h.

Referenced by preModuleConstruction(), and preSourceConstruction().

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

Definition at line 164 of file MessageLogger.h.

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

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

Definition at line 166 of file MessageLogger.h.

Referenced by MessageLogger().

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

Definition at line 169 of file MessageLogger.h.

Referenced by MessageLogger().

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

Definition at line 167 of file MessageLogger.h.

Referenced by MessageLogger().

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

Definition at line 168 of file MessageLogger.h.

Referenced by MessageLogger().

unsigned int edm::service::MessageLogger::runInfoBegin_ = 0
private
std::map<std::string, ELseverityLevel> edm::service::MessageLogger::suppression_levels_
private

Definition at line 157 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

std::vector<std::array<char, 64> > edm::service::MessageLogger::transitionInfoCache_
private