aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-10 18:44:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-10 18:44:47 +0000
commit962c72b624d3bd4fe46fde4ccb422c7978fce682 (patch)
treef71589c3b4cc888c9e4bbd9faa549632209dff36
parentMerge pull request #1679 (diff)
downloadmonero-962c72b624d3bd4fe46fde4ccb422c7978fce682.tar.xz
performance_tests: initialize logging at startup
-rw-r--r--tests/performance_tests/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index d08698433..1d3c79ca1 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -49,6 +49,9 @@ int main(int argc, char** argv)
set_process_affinity(1);
set_thread_high_priority();
+ mlog_configure(mlog_get_default_log_path("performance_tests.log"), true);
+ mlog_set_log_level(0);
+
performance_timer timer;
timer.start();