From 54c39d8447338e364d4657c92128613dac6d2f40 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 20 Aug 2021 16:24:13 +0200 Subject: [PATCH] Set nr_phy_test scheduler logger to the level defined in the arguments --- test/phy/dummy_gnb_stack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/phy/dummy_gnb_stack.h b/test/phy/dummy_gnb_stack.h index 27efa70c9..e1e943f76 100644 --- a/test/phy/dummy_gnb_stack.h +++ b/test/phy/dummy_gnb_stack.h @@ -334,7 +334,8 @@ public: sched_logger(srslog::fetch_basic_logger("MAC")) { logger.set_level(srslog::str_to_basic_level(args.log_level)); - sched_logger.set_level(srslog::basic_levels::debug); + sched_logger.set_level(srslog::str_to_basic_level(args.log_level)); + srslog::fetch_basic_logger("MAC-NR").set_level(srslog::str_to_basic_level(args.log_level)); // create sched object srsenb::sched_nr_interface::sched_cfg_t sched_cfg{};