performance_tests: initialize logging at startup

This commit is contained in:
moneromooo-monero 2017-02-10 18:44:47 +00:00
parent 99ee3fd17e
commit 962c72b624
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 3 additions and 0 deletions

View File

@ -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();