mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
* split log console output sink into two sinks, one for cout and one for cerr.
* remove logger_oldboost_version files and add ifdef boost version in logger.cxx instead * change default logger level in FairMqProgOptions
This commit is contained in:
@@ -68,8 +68,8 @@ int FairMQProgOptions::ParseAll(const int argc, char** argv, bool allowUnregiste
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG(ERROR)<<" verbosity level '"<<verbose<<"' unknown, it will be set to INFO";
|
||||
set_global_log_level(log_op::operation::GREATER_EQ_THAN,fSeverityMap.at("RESULTS"));
|
||||
LOG(ERROR)<<" verbosity level '"<<verbose<<"' unknown, it will be set to DEBUG";
|
||||
set_global_log_level(log_op::operation::GREATER_EQ_THAN,fSeverityMap.at("DEBUG"));
|
||||
}
|
||||
|
||||
PrintOptions();
|
||||
@@ -90,7 +90,7 @@ int FairMQProgOptions::ParseAll(const int argc, char** argv, bool allowUnregiste
|
||||
|
||||
if (!optionExists)
|
||||
{
|
||||
LOG(ERROR) << "Required option to configure the MQ device is not there.";
|
||||
LOG(ERROR) << "Required options to configure the MQ device are not provided.";
|
||||
LOG(ERROR) << "Please provide the value of one of the following key:";
|
||||
for (const auto& p : MQParserKeys)
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ FairProgOptions::FairProgOptions() :
|
||||
fGenericDesc.add_options()
|
||||
("help,h", "produce help")
|
||||
("version,v", "print version")
|
||||
("verbose", po::value<std::string>(&fVerboseLvl)->default_value("INFO"), "Verbosity level : \n"
|
||||
("verbose", po::value<std::string>(&fVerboseLvl)->default_value("DEBUG"), "Verbosity level : \n"
|
||||
" TRACE \n"
|
||||
" DEBUG \n"
|
||||
" RESULTS \n"
|
||||
|
Reference in New Issue
Block a user