diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-12-31 16:30:47 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-12-31 16:30:47 -0600 |
| commit | 53760ee044f058920c05c466a3932ae520a9e24f (patch) | |
| tree | fc96049c37877391ddc74e5afa7870aa93b3e0c5 | |
| parent | 1aaa82cb1a19b6688819e6fd90641cf7b02fff97 (diff) | |
| parent | 0e2f5cb5fc84fb5d4afcfe020c9d6ae5fdaf3290 (diff) | |
| download | monzero-core-53760ee044f058920c05c466a3932ae520a9e24f.tar.gz monzero-core-53760ee044f058920c05c466a3932ae520a9e24f.tar.xz monzero-core-53760ee044f058920c05c466a3932ae520a9e24f.zip | |
Merge pull request #4957
0e2f5cb perf_timer: make all logs Info level (moneromooo-monero)
| -rw-r--r-- | contrib/epee/src/mlog.cpp | 2 | ||||
| -rw-r--r-- | src/common/perf_timer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp index 00d848388..9b6b832d1 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -103,7 +103,7 @@ static const char *get_default_categories(int level) categories = "*:WARNING,net:FATAL,net.http:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO"; break; case 1: - categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO"; + categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO,perf.*:DEBUG"; break; case 2: categories = "*:DEBUG"; diff --git a/src/common/perf_timer.h b/src/common/perf_timer.h index 584434a0d..267f94161 100644 --- a/src/common/perf_timer.h +++ b/src/common/perf_timer.h @@ -63,7 +63,7 @@ protected: class LoggingPerformanceTimer: public PerformanceTimer { public: - LoggingPerformanceTimer(const std::string &s, const std::string &cat, uint64_t unit, el::Level l = el::Level::Debug); + LoggingPerformanceTimer(const std::string &s, const std::string &cat, uint64_t unit, el::Level l = el::Level::Info); ~LoggingPerformanceTimer(); private: |
