#include <ThreadSafeLogMessageLoggerScribe.h>
Public Member Functions | |
virtual void | runCommand (MessageLoggerQ::OpCode opcode, void *operand) |
ThreadSafeLogMessageLoggerScribe () | |
— If queue is NULL, this sets singleThread true More... | |
virtual | ~ThreadSafeLogMessageLoggerScribe () |
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 (ELdestControl &dest_ctrl, String const &filename) |
void | configure_errorlog () |
void | configure_external_dests () |
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 |
std::shared_ptr< ELadministrator > | admin_p |
bool | clean_slate_configuration |
std::atomic< int > | count |
ELdestControl | early_dest |
std::vector< NamedDestination * > | extern_dests |
std::vector< std::shared_ptr < std::ofstream > > | file_ps |
std::shared_ptr< PSet > | job_pset_p |
std::atomic< bool > | m_messageBeingSent |
tbb::concurrent_queue< ErrorObj * > | m_waitingMessages |
value_ptr< MessageLoggerDefaults > | messageLoggerDefaults |
std::vector< String > | ordinary_destination_filenames |
std::atomic< bool > | purge_mode |
std::vector< ELdestControl > | statisticsDestControls |
std::vector< bool > | statisticsResets |
std::map< String, std::ostream * > | stream_ps |
Definition at line 37 of file ThreadSafeLogMessageLoggerScribe.h.
|
private |
Definition at line 57 of file ThreadSafeLogMessageLoggerScribe.h.
|
private |
Definition at line 55 of file ThreadSafeLogMessageLoggerScribe.h.
|
private |
Definition at line 56 of file ThreadSafeLogMessageLoggerScribe.h.
|
explicit |
— If queue is NULL, this sets singleThread true
Definition at line 40 of file ThreadSafeLogMessageLoggerScribe.cc.
|
virtual |
Definition at line 54 of file ThreadSafeLogMessageLoggerScribe.cc.
References admin_p, assert(), ecalBxOrbitNumberGrapher_cfg::categories, extern_dests, edm::ELextendedID::id, m_waitingMessages, parseCategories(), purge_mode, edm::ErrorObj::setID(), and edm::ErrorObj::xid().
|
private |
Definition at line 267 of file ThreadSafeLogMessageLoggerScribe.cc.
References ecalBxOrbitNumberGrapher_cfg::categories, python.rootplot.argparse::category, edm::copy_all(), edm::MessageDrop::debugAlwaysSuppressed, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, lut2db_cfg::filename, edm::MessageDrop::infoAlwaysSuppressed, MergeJob_cfg::interval, job_pset_p, MessageLogger_cff::limit, messageLoggerDefaults, dtDQMClient_cfg::noLineBreaks, edm::service::ELdestControl::setInterval(), edm::service::ELdestControl::setLimit(), edm::service::ELdestControl::setLineLength(), edm::service::ELdestControl::setThreshold(), edm::service::ELdestControl::setTimespan(), HLT_25ns14e33_v1_cff::severity, AlCaHLTBitMon_QueryRunRegistry::string, edm::service::ELdestControl::suppressTime(), and edm::MessageDrop::warningAlwaysSuppressed.
Referenced by configure_external_dests(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 232 of file ThreadSafeLogMessageLoggerScribe.cc.
References clean_slate_configuration, configure_external_dests(), configure_ordinary_destinations(), configure_statistics(), early_dest, job_pset_p, stream_ps, and edm::service::ELdestControl::suppressTime().
Referenced by runCommand().
|
private |
Definition at line 781 of file ThreadSafeLogMessageLoggerScribe.cc.
References admin_p, configure_dest(), extern_dests, and job_pset_p.
Referenced by configure_errorlog(), and runCommand().
|
private |
Definition at line 508 of file ThreadSafeLogMessageLoggerScribe.cc.
References admin_p, ecal_dqm_sourceclient-live_cfg::cerr, clean_slate_configuration, configure_dest(), gather_cfg::cout, edm::MessageDrop::debugAlwaysSuppressed, gather_cfg::destinations, early_dest, edm::ELhighestSeverity, edm::ELzeroSeverity, file_ps, lut2db_cfg::filename, edm::MessageDrop::infoAlwaysSuppressed, job_pset_p, messageLoggerDefaults, ordinary_destination_filenames, edm::service::ELdestControl::setThreshold(), stream_ps, AlCaHLTBitMon_QueryRunRegistry::string, and edm::MessageDrop::warningAlwaysSuppressed.
Referenced by configure_errorlog().
|
private |
Definition at line 640 of file ThreadSafeLogMessageLoggerScribe.cc.
References admin_p, ecal_dqm_sourceclient-live_cfg::cerr, clean_slate_configuration, edm::errors::Configuration, configure_dest(), gather_cfg::cout, gather_cfg::destinations, edm::hlt::Exception, file_ps, lut2db_cfg::filename, job_pset_p, messageLoggerDefaults, edm::service::ELdestControl::noTerminationSummary(), ordinary_destination_filenames, reset(), edm::search_all(), benchmark_cfg::statistics, statisticsDestControls, statisticsResets, stream_ps, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by configure_errorlog().
|
inlineprivate |
Definition at line 76 of file ThreadSafeLogMessageLoggerScribe.h.
References def, and edmStreamStallGrapher::t.
|
private |
Definition at line 203 of file ThreadSafeLogMessageLoggerScribe.cc.
References admin_p, ecalBxOrbitNumberGrapher_cfg::categories, edm::ErrorObj::clear(), edm::ELextendedID::id, m_messageBeingSent, m_waitingMessages, getGTfromDQMFile::obj, parseCategories(), purge_mode, edm::ErrorObj::setID(), and edm::ErrorObj::xid().
Referenced by runCommand().
|
private |
Definition at line 807 of file ThreadSafeLogMessageLoggerScribe.cc.
Referenced by log(), and ~ThreadSafeLogMessageLoggerScribe().
|
virtual |
Reimplemented from edm::service::AbstractMLscribe.
Definition at line 76 of file ThreadSafeLogMessageLoggerScribe.cc.
References active, assert(), ecal_dqm_sourceclient-live_cfg::cerr, edm::MessageLoggerQ::CONFIGURE, configure_errorlog(), configure_external_dests(), count, alignCSCRings::e, edm::MessageLoggerQ::END_THREAD, edm::MessageLoggerQ::EXTERN_DEST, extern_dests, edm::MessageLoggerQ::FJR_SUMMARY, edm::MessageLoggerQ::FLUSH_LOG_Q, edm::MessageLoggerQ::GROUP_STATS, job_pset_p, edm::MessageLoggerQ::JOBMODE, log(), edm::MessageLoggerQ::LOG_A_MESSAGE, messageLoggerDefaults, edm::service::MessageLoggerDefaults::mode(), edm::service::ELstatistics::noteGroupedCategory(), purge_mode, edm::MessageLoggerQ::SHUT_UP, AlCaHLTBitMon_QueryRunRegistry::string, edm::MessageLoggerQ::SUMMARIZE, triggerFJRmessageSummary(), triggerStatisticsSummaries(), and cms::Exception::what().
|
private |
Definition at line 834 of file ThreadSafeLogMessageLoggerScribe.cc.
References statisticsDestControls.
Referenced by runCommand().
|
private |
Definition at line 824 of file ThreadSafeLogMessageLoggerScribe.cc.
References assert(), i, statisticsDestControls, and statisticsResets.
Referenced by runCommand().
|
private |
Definition at line 108 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 97 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_external_dests(), configure_ordinary_destinations(), configure_statistics(), log(), and ~ThreadSafeLogMessageLoggerScribe().
|
private |
Definition at line 106 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 110 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by NodeCut.MatchLessSeen::match(), NodeCut.MatchLessHit::match(), and runCommand().
|
private |
Definition at line 98 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_errorlog(), and configure_ordinary_destinations().
|
private |
Definition at line 101 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_external_dests(), runCommand(), and ~ThreadSafeLogMessageLoggerScribe().
|
private |
Definition at line 99 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 100 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_dest(), configure_errorlog(), configure_external_dests(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 111 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by log().
|
private |
Definition at line 112 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by log(), and ~ThreadSafeLogMessageLoggerScribe().
|
private |
Definition at line 107 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_dest(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 103 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 109 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by log(), runCommand(), and ~ThreadSafeLogMessageLoggerScribe().
|
private |
Definition at line 104 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_statistics(), triggerFJRmessageSummary(), and triggerStatisticsSummaries().
|
private |
Definition at line 105 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_statistics(), and triggerStatisticsSummaries().
|
private |
Definition at line 102 of file ThreadSafeLogMessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_ordinary_destinations(), and configure_statistics().