diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-16 10:45:59 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-16 10:45:59 +0000 |
commit | a480bf6b1497eb1f5e9b27026d009663fea19642 (patch) | |
tree | afc6aaa829a9f1ff1fa6d359e1fab6326c61d6ec /tests | |
parent | Merge pull request #1569 (diff) | |
download | monero-a480bf6b1497eb1f5e9b27026d009663fea19642.tar.xz |
fixups in logging init calls, and add missing net context in a log
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core_proxy/core_proxy.cpp | 2 | ||||
-rw-r--r-- | tests/net_load_tests/clt.cpp | 2 | ||||
-rw-r--r-- | tests/net_load_tests/srv.cpp | 2 | ||||
-rw-r--r-- | tests/unit_tests/main.cpp | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/tests/core_proxy/core_proxy.cpp b/tests/core_proxy/core_proxy.cpp index e7c69e9e5..6edca1050 100644 --- a/tests/core_proxy/core_proxy.cpp +++ b/tests/core_proxy/core_proxy.cpp @@ -75,7 +75,7 @@ int main(int argc, char* argv[]) string_tools::set_module_name_and_folder(argv[0]); //set up logging options - mlog_configure(mlog_get_default_log_path("core_tests.log"), true); + mlog_configure(mlog_get_default_log_path("core_proxy.log"), true); mlog_set_log_level(2); 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); diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp index 856e81857..e552976a6 100644 --- a/tests/unit_tests/main.cpp +++ b/tests/unit_tests/main.cpp @@ -35,6 +35,7 @@ int main(int argc, char** argv) { epee::string_tools::set_module_name_and_folder(argv[0]); + mlog_configure(mlog_get_default_log_path("unit_tests.log"), true); epee::debug::get_set_enable_assert(true, false); ::testing::InitGoogleTest(&argc, argv); |