aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-16 10:45:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-16 10:45:59 +0000
commita480bf6b1497eb1f5e9b27026d009663fea19642 (patch)
treeafc6aaa829a9f1ff1fa6d359e1fab6326c61d6ec /tests/net_load_tests
parentMerge pull request #1569 (diff)
downloadmonero-a480bf6b1497eb1f5e9b27026d009663fea19642.tar.xz
fixups in logging init calls, and add missing net context in a log
Diffstat (limited to 'tests/net_load_tests')
-rw-r--r--tests/net_load_tests/clt.cpp2
-rw-r--r--tests/net_load_tests/srv.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/net_load_tests/clt.cpp b/tests/net_load_tests/clt.cpp
index ed0a297fd..39e8794b1 100644
--- a/tests/net_load_tests/clt.cpp
+++ b/tests/net_load_tests/clt.cpp
@@ -629,7 +629,7 @@ int main(int argc, char** argv)
{
epee::debug::get_set_enable_assert(true, false);
//set up logging options
- mlog_configure(mlog_get_default_log_path("core_tests.log"), true);
+ mlog_configure(mlog_get_default_log_path("net_load_tests_clt.log"), true);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
diff --git a/tests/net_load_tests/srv.cpp b/tests/net_load_tests/srv.cpp
index ffa88d290..3bbbeef7f 100644
--- a/tests/net_load_tests/srv.cpp
+++ b/tests/net_load_tests/srv.cpp
@@ -216,7 +216,7 @@ namespace
int main(int argc, char** argv)
{
//set up logging options
- mlog_configure(mlog_get_default_log_path("core_tests.log"), true);
+ mlog_configure(mlog_get_default_log_path("net_load_tests_srv.log"), true);
size_t thread_count = (std::max)(min_thread_count, std::thread::hardware_concurrency() / 2);