diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-10 18:44:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-10 18:44:47 +0000 |
commit | 962c72b624d3bd4fe46fde4ccb422c7978fce682 (patch) | |
tree | f71589c3b4cc888c9e4bbd9faa549632209dff36 /tests/performance_tests/main.cpp | |
parent | Merge pull request #1679 (diff) | |
download | monero-962c72b624d3bd4fe46fde4ccb422c7978fce682.tar.xz |
performance_tests: initialize logging at startup
Diffstat (limited to 'tests/performance_tests/main.cpp')
-rw-r--r-- | tests/performance_tests/main.cpp | 3 |
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(); |