diff --git a/fairmq/DeviceRunner.cxx b/fairmq/DeviceRunner.cxx index 0a89b9d9..14682076 100644 --- a/fairmq/DeviceRunner.cxx +++ b/fairmq/DeviceRunner.cxx @@ -154,8 +154,8 @@ auto DeviceRunner::Run() -> int // Handle --version if (fConfig.Count("version")) { - cout << "FairMQ version: " << FAIRMQ_GIT_VERSION << endl; - cout << "User device version: " << fDevice->GetVersion() << endl; + LOGV(info, verylow) << "FairMQ version: " << FAIRMQ_GIT_VERSION; + LOGV(info, verylow) << "User device version: " << fDevice->GetVersion(); fDevice->ChangeState(fair::mq::Transition::End); return 0; } diff --git a/fairmq/FairMQDevice.h b/fairmq/FairMQDevice.h index a6bd5ba8..7dc064f0 100644 --- a/fairmq/FairMQDevice.h +++ b/fairmq/FairMQDevice.h @@ -26,7 +26,6 @@ #include // find #include #include -#include #include #include #include @@ -363,10 +362,10 @@ class FairMQDevice void PrintRegisteredChannels() { if (fChannelRegistry.size() < 1) { - std::cout << "no channels registered." << std::endl; + LOGV(info, verylow) << "no channels registered."; } else { for (const auto& c : fChannelRegistry) { - std::cout << c.first << ":" << c.second.first << ":" << c.second.second << std::endl; + LOGV(info, verylow) << c.first << ":" << c.second.first << ":" << c.second.second; } } } diff --git a/fairmq/plugins/Control.cxx b/fairmq/plugins/Control.cxx index 1e646400..a975ce7b 100644 --- a/fairmq/plugins/Control.cxx +++ b/fairmq/plugins/Control.cxx @@ -8,14 +8,16 @@ #include "Control.h" -#include // for the interactive mode -#include // for the interactive mode +#include +#include #include // catching system signals #include #include -#include +#include #include -#include + +#include // for the interactive mode +#include // for the interactive mode using namespace std; diff --git a/fairmq/tools/RateLimit.h b/fairmq/tools/RateLimit.h index 4becad42..0b37b66c 100644 --- a/fairmq/tools/RateLimit.h +++ b/fairmq/tools/RateLimit.h @@ -11,7 +11,7 @@ #include #include -#include +// #include #include #include #include