From 962c72b624d3bd4fe46fde4ccb422c7978fce682 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 10 Feb 2017 18:44:47 +0000 Subject: [PATCH] performance_tests: initialize logging at startup --- tests/performance_tests/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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();