aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional_tests/main.cpp')
-rw-r--r--tests/functional_tests/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/functional_tests/main.cpp b/tests/functional_tests/main.cpp
index 58a2a5c90..c0c83c91c 100644
--- a/tests/functional_tests/main.cpp
+++ b/tests/functional_tests/main.cpp
@@ -61,11 +61,8 @@ int main(int argc, char* argv[])
string_tools::set_module_name_and_folder(argv[0]);
//set up logging options
- log_space::get_set_log_detalisation_level(true, LOG_LEVEL_3);
- log_space::log_singletone::add_logger(LOGGER_CONSOLE, NULL, NULL, LOG_LEVEL_2);
- log_space::log_singletone::add_logger(LOGGER_FILE,
- log_space::log_singletone::get_default_log_file().c_str(),
- log_space::log_singletone::get_default_log_folder().c_str());
+ mlog_configure(mlog_get_default_log_path("functional_tests.log"), true);
+ mlog_set_log_level(3);
po::options_description desc_options("Allowed options");
command_line::add_arg(desc_options, command_line::arg_help);