diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-06 15:57:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-06 15:57:50 +0200 |
commit | 6f8e0a28b21704288086379fcadb4556ae695e7f (patch) | |
tree | 80e4c026a68414f6dbcc6e75ca50c9fa0c889f4c /src/common | |
parent | Merge pull request #5341 (diff) | |
parent | perf_timer: move some debug levels to info for consistency (diff) | |
download | monero-6f8e0a28b21704288086379fcadb4556ae695e7f.tar.xz |
Merge pull request #5342
849a768f perf_timer: move some debug levels to info for consistency (moneromooo-monero)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/perf_timer.cpp | 6 |
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; } |