aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-24 20:14:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-24 20:15:33 +0000
commit849a768f36e090618f6c8d1c2120f5280fb87e84 (patch)
tree16b3cc88d8c97dd71916c32ee6aecb91c2d46374
parentMerge pull request #5286 (diff)
downloadmonero-849a768f36e090618f6c8d1c2120f5280fb87e84.tar.xz
perf_timer: move some debug levels to info for consistency
-rw-r--r--src/common/perf_timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/perf_timer.cpp b/src/common/perf_timer.cpp
index dda498088..189eb85eb 100644
--- a/src/common/perf_timer.cpp
+++ b/src/common/perf_timer.cpp
@@ -88,7 +88,7 @@ namespace tools
namespace tools
{
-el::Level performance_timer_log_level = el::Level::Debug;
+el::Level performance_timer_log_level = el::Level::Info;
static __thread std::vector<LoggingPerformanceTimer*> *performance_timers = NULL;
@@ -97,8 +97,8 @@ void set_performance_timer_log_level(el::Level level)
if (level != el::Level::Debug && level != el::Level::Trace && level != el::Level::Info
&& level != el::Level::Warning && level != el::Level::Error && level != el::Level::Fatal)
{
- MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Debug");
- level = el::Level::Debug;
+ MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Info");
+ level = el::Level::Info;
}
performance_timer_log_level = level;
}