#include <MessageLoggerScribe.h>
Public Member Functions | |
MessageLoggerScribe (std::shared_ptr< ThreadQueue > queue) | |
— If queue is NULL, this sets singleThread true More... | |
virtual void | run () |
void | runCommand (MessageLoggerQ::OpCode opcode, void *operand) override |
~MessageLoggerScribe () override | |
Public Member Functions inherited from edm::service::AbstractMLscribe | |
AbstractMLscribe () | |
virtual | ~AbstractMLscribe () |
Private Types | |
typedef ParameterSet | PSet |
typedef std::string | String |
typedef std::vector< String > | vString |
Private Member Functions | |
void | configure_dest (std::shared_ptr< ELdestination > dest_ctrl, String const &filename) |
void | configure_errorlog () |
void | configure_ordinary_destinations () |
void | configure_statistics () |
template<class T > | |
T | getAparameter (PSet const &p, std::string const &id, T const &def) |
void | log (ErrorObj *errorobj_p) |
void | parseCategories (std::string const &s, std::vector< std::string > &cats) |
void | triggerFJRmessageSummary (std::map< std::string, double > &sm) |
void | triggerStatisticsSummaries () |
Private Attributes | |
bool | active |
edm::propagate_const< std::shared_ptr< ELadministrator > > | admin_p |
bool | clean_slate_configuration |
int | count |
bool | done |
std::shared_ptr< ELdestination > | early_dest |
std::vector< edm::propagate_const< std::shared_ptr< std::ofstream > > > | file_ps |
edm::propagate_const< std::shared_ptr< PSet > > | job_pset_p |
edm::propagate_const< std::shared_ptr< ThreadQueue > > | m_queue |
value_ptr< MessageLoggerDefaults > | messageLoggerDefaults |
std::vector< String > | ordinary_destination_filenames |
bool | purge_mode |
bool | singleThread |
std::vector< std::shared_ptr< ELstatistics > > | statisticsDestControls |
std::vector< bool > | statisticsResets |
std::map< String, edm::propagate_const< std::ostream * > > | stream_ps |
Definition at line 86 of file MessageLoggerScribe.h.
|
private |
Definition at line 106 of file MessageLoggerScribe.h.
|
private |
Definition at line 104 of file MessageLoggerScribe.h.
|
private |
Definition at line 105 of file MessageLoggerScribe.h.
|
explicit |
— If queue is NULL, this sets singleThread true
Definition at line 212 of file MessageLoggerScribe.cc.
|
override |
Definition at line 230 of file MessageLoggerScribe.cc.
References admin_p.
|
private |
Definition at line 426 of file MessageLoggerScribe.cc.
References myMessageLogger_cff::categories, taus_updatedMVAIds_cff::category, edm::copy_all(), edm::MessageDrop::debugAlwaysSuppressed, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, corrVsCorr::filename, edm::MessageDrop::infoAlwaysSuppressed, job_pset_p, MessageLogger_cfi::limit, messageLoggerDefaults, MessageLogger_cfi::noLineBreaks, ErrorSummaryFilter_cfi::severity, AlCaHLTBitMon_QueryRunRegistry::string, and edm::MessageDrop::warningAlwaysSuppressed.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 392 of file MessageLoggerScribe.cc.
References clean_slate_configuration, configure_ordinary_destinations(), configure_statistics(), early_dest, job_pset_p, log(), edm::MessageLoggerQ::LOG_A_MESSAGE, m_queue, singleThread, and stream_ps.
Referenced by runCommand().
|
private |
Definition at line 640 of file MessageLoggerScribe.cc.
References admin_p, MessageLogger_cfi::cerr, clean_slate_configuration, configure_dest(), gather_cfg::cout, edm::MessageDrop::debugAlwaysSuppressed, myMessageLogger_cff::destinations, early_dest, edm::ELhighestSeverity, edm::ELzeroSeverity, file_ps, corrVsCorr::filename, edm::MessageDrop::infoAlwaysSuppressed, job_pset_p, messageLoggerDefaults, ordinary_destination_filenames, stream_ps, AlCaHLTBitMon_QueryRunRegistry::string, and edm::MessageDrop::warningAlwaysSuppressed.
Referenced by configure_errorlog().
|
private |
Definition at line 761 of file MessageLoggerScribe.cc.
References admin_p, MessageLogger_cfi::cerr, clean_slate_configuration, edm::errors::Configuration, configure_dest(), gather_cfg::cout, myMessageLogger_cff::destinations, Exception, file_ps, corrVsCorr::filename, job_pset_p, messageLoggerDefaults, ordinary_destination_filenames, reset(), edm::search_all(), myMessageLogger_cff::statistics, statisticsDestControls, statisticsResets, stream_ps, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by configure_errorlog().
|
inlineprivate |
Definition at line 149 of file MessageLoggerScribe.h.
References MessageLogger_cfi::cerr, def, MillePedeFileConverter_cfg::e, triggerObjects_cff::id, parseCategories(), cms::Exception::raise(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
|
private |
Definition at line 383 of file MessageLoggerScribe.cc.
References admin_p, myMessageLogger_cff::categories, edm::ELextendedID::id, parseCategories(), edm::ErrorObj::setID(), and edm::ErrorObj::xid().
Referenced by configure_errorlog(), and runCommand().
|
private |
Definition at line 889 of file MessageLoggerScribe.cc.
References mps_fire::i.
Referenced by getAparameter(), and log().
|
virtual |
Definition at line 232 of file MessageLoggerScribe.cc.
References done, edm::MessageDrop::instance(), m_queue, edm::MessageDrop::messageLoggerScribeIsRunning, edm::MLSCRIBE_RUNNING_INDICATOR, and runCommand().
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
overridevirtual |
Reimplemented from edm::service::AbstractMLscribe.
Definition at line 249 of file MessageLoggerScribe.cc.
References active, edm::ConfigurationHandshake::c, MessageLogger_cfi::cerr, edm::MessageLoggerQ::CONFIGURE, configure_errorlog(), count, done, MillePedeFileConverter_cfg::e, edm::MessageLoggerQ::END_THREAD, edm::ConfigurationHandshake::epp, edm::MessageLoggerQ::FJR_SUMMARY, edm::MessageLoggerQ::FLUSH_LOG_Q, edm::MessageLoggerQ::GROUP_STATS, edm::MessageDrop::instance(), job_pset_p, edm::MessageLoggerQ::JOBMODE, log(), edm::MessageLoggerQ::LOG_A_MESSAGE, edm::ConfigurationHandshake::m, messageLoggerDefaults, edm::MessageDrop::messageLoggerScribeIsRunning, edm::service::MessageLoggerDefaults::mode(), edm::service::ELstatistics::noteGroupedCategory(), edm::ConfigurationHandshake::p, purge_mode, edm::MessageLoggerQ::SHUT_UP, singleThread, AlCaHLTBitMon_QueryRunRegistry::string, edm::MessageLoggerQ::SUMMARIZE, triggerFJRmessageSummary(), triggerStatisticsSummaries(), and cms::Exception::what().
Referenced by run().
|
private |
Definition at line 913 of file MessageLoggerScribe.cc.
References statisticsDestControls.
Referenced by runCommand().
|
private |
Definition at line 904 of file MessageLoggerScribe.cc.
References mps_fire::i, statisticsDestControls, and statisticsResets.
Referenced by runCommand().
|
private |
Definition at line 217 of file MessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 207 of file MessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), configure_statistics(), log(), and ~MessageLoggerScribe().
|
private |
Definition at line 215 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 221 of file MessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 219 of file MessageLoggerScribe.h.
Referenced by run(), and runCommand().
|
private |
Definition at line 208 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and configure_ordinary_destinations().
|
private |
Definition at line 209 of file MessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 210 of file MessageLoggerScribe.h.
Referenced by configure_dest(), configure_errorlog(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 222 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and run().
|
private |
Definition at line 216 of file MessageLoggerScribe.h.
Referenced by configure_dest(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 212 of file MessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 220 of file MessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 218 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and runCommand().
|
private |
Definition at line 213 of file MessageLoggerScribe.h.
Referenced by configure_statistics(), triggerFJRmessageSummary(), and triggerStatisticsSummaries().
|
private |
Definition at line 214 of file MessageLoggerScribe.h.
Referenced by configure_statistics(), and triggerStatisticsSummaries().
|
private |
Definition at line 211 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_ordinary_destinations(), and configure_statistics().