From 599d1b3e059ad6310b97560b2a7898853ec8093f Mon Sep 17 00:00:00 2001 From: Radoslaw Karabowicz Date: Fri, 6 May 2016 14:46:17 +0200 Subject: [PATCH] MQ/example9 Added testing of the static MQ execution. - removed the obsolete startFairMQEx9.sh.in script - added all *.root files in example9/macros/ to .gitignore; - added run_digi.C to tests; - added startFairMQEx9_Static.sh to tests; - startFairMQEx9_Static.sh - script that will run the example non-interactively, statically; - Pixel9MQConfig_Multipart.json - added acknowledgement channel to sampler and sink; - runEx9Sampler.cxx and runEx9FileSink.cxx - added option to set the ack channel name; - FairMQEx9FileSink - if ack channel name set, send acknowledgement of received message, save the tree and file at the end of Run; - FairMQEx9Sampler - if ack channel name set, count acknowledgements and finish only if all events processed; - FairMQEx9TaskProcessor - moved some printouts to debug. General: - fairmq/logger/logger.cxx - fixed colorless logger bug; - parmq/runParameterMQServer.cxx - now using runStateMachine function (to enable static execution). --- fairmq/logger/logger.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/fairmq/logger/logger.cxx b/fairmq/logger/logger.cxx index 115d14d2..9ddee1b9 100644 --- a/fairmq/logger/logger.cxx +++ b/fairmq/logger/logger.cxx @@ -51,6 +51,7 @@ BOOST_LOG_GLOBAL_LOGGER_INIT(global_logger, src::severity_logger_mt) void init_log_console(bool color/* = true*/) { + FairMQ::Logger::sinkList.clear(); // add a text sink typedef sinks::synchronous_sink text_sink;