mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
fixups in logging init calls, and add missing net context in a log
This commit is contained in:
parent
ab69d5b367
commit
a480bf6b14
7 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue