Added initialization of nas5g logger

master
David Rupprecht 3 years ago committed by Andre Puschmann
parent 7e7eceda15
commit 68fe21928e

@ -215,6 +215,7 @@ private:
srslog::basic_logger& rrc_logger;
srslog::basic_logger& usim_logger;
srslog::basic_logger& nas_logger;
srslog::basic_logger& nas5g_logger;
// UE NR stack logging
srslog::basic_logger& mac_nr_logger;

@ -33,6 +33,7 @@ ue_stack_lte::ue_stack_lte() :
rrc_logger(srslog::fetch_basic_logger("RRC", false)),
usim_logger(srslog::fetch_basic_logger("USIM", false)),
nas_logger(srslog::fetch_basic_logger("NAS", false)),
nas5g_logger(srslog::fetch_basic_logger("NAS5G", false)),
mac_nr_logger(srslog::fetch_basic_logger("MAC-NR")),
rrc_nr_logger(srslog::fetch_basic_logger("RRC-NR", false)),
rlc_nr_logger(srslog::fetch_basic_logger("RLC-NR", false)),
@ -119,6 +120,8 @@ int ue_stack_lte::init(const stack_args_t& args_)
nas_logger.set_level(srslog::str_to_basic_level(args.log.nas_level));
nas_logger.set_hex_dump_max_size(args.log.nas_hex_limit);
nas5g_logger.set_level(srslog::str_to_basic_level(args.log.nas_level));
nas5g_logger.set_hex_dump_max_size(args.log.nas_hex_limit);
mac_nr_logger.set_level(srslog::str_to_basic_level(args.log.mac_level));
mac_nr_logger.set_hex_dump_max_size(args.log.mac_hex_limit);
rrc_nr_logger.set_level(srslog::str_to_basic_level(args.log.rrc_level));

Loading…
Cancel
Save