#include <MessageLoggerScribe.h>
Public Member Functions | |
MessageLoggerScribe (boost::shared_ptr< ThreadQueue > queue) | |
— If queue is NULL, this sets singleThread true More... | |
virtual void | run () |
virtual void | runCommand (MessageLoggerQ::OpCode opcode, void *operand) |
virtual | ~MessageLoggerScribe () |
Public Member Functions inherited from edm::service::AbstractMLscribe | |
AbstractMLscribe () | |
virtual | ~AbstractMLscribe () |
Static Public Member Functions | |
static ErrorLog * | getErrorLog_ptr () |
Private Types | |
typedef ParameterSet | PSet |
typedef std::string | String |
typedef std::vector< String > | vString |
Private Member Functions | |
void | configure_default_fwkJobReport (ELdestControl &dest_ctrl) |
void | configure_dest (ELdestControl &dest_ctrl, String const &filename) |
void | configure_errorlog () |
void | configure_external_dests () |
void | configure_fwkJobReports () |
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 | setStaticErrorLog_ptr () |
void | triggerFJRmessageSummary (std::map< std::string, double > &sm) |
void | triggerStatisticsSummaries () |
Private Attributes | |
bool | active |
ELadministrator * | admin_p |
bool | clean_slate_configuration |
int | count |
bool | done |
ELdestControl | early_dest |
boost::shared_ptr< ErrorLog > | errorlog_p |
std::vector< NamedDestination * > | extern_dests |
std::vector< boost::shared_ptr < std::ofstream > > | file_ps |
boost::shared_ptr< PSet > | job_pset_p |
std::string | jobReportOption |
boost::shared_ptr< ThreadQueue > | m_queue |
value_ptr< MessageLoggerDefaults > | messageLoggerDefaults |
MsgContext | msg_context |
std::vector< String > | ordinary_destination_filenames |
bool | purge_mode |
bool | singleThread |
std::vector< ELdestControl > | statisticsDestControls |
std::vector< bool > | statisticsResets |
std::map< String, std::ostream * > | stream_ps |
Static Private Attributes | |
static ErrorLog * | static_errorlog_p |
Definition at line 86 of file MessageLoggerScribe.h.
|
private |
Definition at line 111 of file MessageLoggerScribe.h.
|
private |
Definition at line 109 of file MessageLoggerScribe.h.
|
private |
Definition at line 110 of file MessageLoggerScribe.h.
|
explicit |
— If queue is NULL, this sets singleThread true
Definition at line 216 of file MessageLoggerScribe.cc.
References admin_p, msg_context, and edm::service::ELadministrator::setContextSupplier().
|
virtual |
Definition at line 235 of file MessageLoggerScribe.cc.
References admin_p, extern_dests, and edm::service::ELadministrator::finish().
|
private |
Definition at line 767 of file MessageLoggerScribe.cc.
References edm::service::ELdestControl::setLimit(), edm::service::ELdestControl::setLineLength(), and edm::service::ELdestControl::suppressTime().
Referenced by configure_fwkJobReports().
|
private |
Definition at line 525 of file MessageLoggerScribe.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(), AlCaHLTBitMon_QueryRunRegistry::string, edm::service::ELdestControl::suppressTime(), and edm::MessageDrop::warningAlwaysSuppressed.
Referenced by configure_external_dests(), configure_fwkJobReports(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 480 of file MessageLoggerScribe.cc.
References clean_slate_configuration, configure_external_dests(), configure_fwkJobReports(), configure_ordinary_destinations(), configure_statistics(), early_dest, job_pset_p, log(), edm::MessageLoggerQ::LOG_A_MESSAGE, m_queue, singleThread, stream_ps, and edm::service::ELdestControl::suppressTime().
Referenced by runCommand().
|
private |
Definition at line 1176 of file MessageLoggerScribe.cc.
References admin_p, edm::service::ELadministrator::attach(), configure_dest(), extern_dests, and job_pset_p.
Referenced by configure_errorlog(), and runCommand().
|
private |
Definition at line 781 of file MessageLoggerScribe.cc.
References admin_p, edm::service::ELadministrator::attach(), clean_slate_configuration, edm::errors::Configuration, configure_default_fwkJobReport(), configure_dest(), edm::hlt::Exception, file_ps, lut2db_cfg::filename, benchmark_cfg::fwkJobReports, job_pset_p, jobReportOption, messageLoggerDefaults, stream_ps, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by configure_errorlog().
|
private |
Definition at line 902 of file MessageLoggerScribe.cc.
References admin_p, edm::service::ELadministrator::attach(), dtNoiseDBValidation_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 1035 of file MessageLoggerScribe.cc.
References admin_p, edm::service::ELadministrator::attach(), dtNoiseDBValidation_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 |
|
inlinestatic |
Definition at line 105 of file MessageLoggerScribe.h.
References static_errorlog_p.
|
private |
Definition at line 466 of file MessageLoggerScribe.cc.
References admin_p, ecalBxOrbitNumberGrapher_cfg::categories, edm::ErrorObj::context(), fwrapper::cs, edm::service::ELadministrator::getContextSupplier(), edm::ELextendedID::id, parseCategories(), edm::service::MsgContext::setContext(), edm::ErrorObj::setID(), and edm::ErrorObj::xid().
Referenced by configure_errorlog(), and runCommand().
|
private |
|
virtual |
Definition at line 243 of file MessageLoggerScribe.cc.
References done, edm::MessageDrop::instance(), m_queue, edm::MessageDrop::messageLoggerScribeIsRunning, edm::MLSCRIBE_RUNNING_INDICATOR, and runCommand().
Referenced by Types.LuminosityBlockID::cppID().
|
virtual |
Reimplemented from edm::service::AbstractMLscribe.
Definition at line 263 of file MessageLoggerScribe.cc.
References active, edm::ConfigurationHandshake::c, dtNoiseDBValidation_cfg::cerr, edm::MessageLoggerQ::CONFIGURE, configure_errorlog(), configure_external_dests(), count, done, alignCSCRings::e, edm::MessageLoggerQ::END_THREAD, edm::ConfigurationHandshake::epp, edm::hlt::Exception, edm::MessageLoggerQ::EXTERN_DEST, extern_dests, edm::MessageLoggerQ::FJR_SUMMARY, edm::MessageLoggerQ::FLUSH_LOG_Q, edm::MessageLoggerQ::GROUP_STATS, edm::MessageDrop::instance(), job_pset_p, edm::MessageLoggerQ::JOBMODE, edm::MessageLoggerQ::JOBREPORT, jobReportOption, 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().
|
inlineprivate |
Definition at line 225 of file MessageLoggerScribe.h.
References errorlog_p, and static_errorlog_p.
|
private |
Definition at line 1229 of file MessageLoggerScribe.cc.
References statisticsDestControls.
Referenced by runCommand().
|
private |
Definition at line 1219 of file MessageLoggerScribe.cc.
References i, statisticsDestControls, and statisticsResets.
Referenced by runCommand().
|
private |
Definition at line 243 of file MessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 228 of file MessageLoggerScribe.h.
Referenced by configure_external_dests(), configure_fwkJobReports(), configure_ordinary_destinations(), configure_statistics(), log(), MessageLoggerScribe(), and ~MessageLoggerScribe().
|
private |
Definition at line 241 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_fwkJobReports(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 247 of file MessageLoggerScribe.h.
Referenced by NodeCut.MatchLessSeen::match(), NodeCut.MatchLessHit::match(), and runCommand().
|
private |
Definition at line 245 of file MessageLoggerScribe.h.
Referenced by cfg-viewer.visitor::leave(), run(), and runCommand().
|
private |
Definition at line 229 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and configure_ordinary_destinations().
|
private |
Definition at line 230 of file MessageLoggerScribe.h.
Referenced by setStaticErrorLog_ptr().
|
private |
Definition at line 234 of file MessageLoggerScribe.h.
Referenced by configure_external_dests(), runCommand(), and ~MessageLoggerScribe().
|
private |
Definition at line 231 of file MessageLoggerScribe.h.
Referenced by configure_fwkJobReports(), configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 233 of file MessageLoggerScribe.h.
Referenced by configure_dest(), configure_errorlog(), configure_external_dests(), configure_fwkJobReports(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 239 of file MessageLoggerScribe.h.
Referenced by configure_fwkJobReports(), and runCommand().
|
private |
Definition at line 248 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and run().
|
private |
Definition at line 242 of file MessageLoggerScribe.h.
Referenced by configure_dest(), configure_fwkJobReports(), configure_ordinary_destinations(), configure_statistics(), and runCommand().
|
private |
Definition at line 232 of file MessageLoggerScribe.h.
Referenced by MessageLoggerScribe().
|
private |
Definition at line 236 of file MessageLoggerScribe.h.
Referenced by configure_ordinary_destinations(), and configure_statistics().
|
private |
Definition at line 246 of file MessageLoggerScribe.h.
Referenced by runCommand().
|
private |
Definition at line 244 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), and runCommand().
|
staticprivate |
Definition at line 240 of file MessageLoggerScribe.h.
Referenced by getErrorLog_ptr(), and setStaticErrorLog_ptr().
|
private |
Definition at line 237 of file MessageLoggerScribe.h.
Referenced by configure_statistics(), triggerFJRmessageSummary(), and triggerStatisticsSummaries().
|
private |
Definition at line 238 of file MessageLoggerScribe.h.
Referenced by configure_statistics(), and triggerStatisticsSummaries().
|
private |
Definition at line 235 of file MessageLoggerScribe.h.
Referenced by configure_errorlog(), configure_fwkJobReports(), configure_ordinary_destinations(), and configure_statistics().