|
|
@ -104,6 +104,7 @@ void parse_args(all_args_t *args, int argc, char* argv[]) {
|
|
|
|
|
|
|
|
|
|
|
|
("log.phy_level", bpo::value<string>(&args->log.phy_level), "PHY log level")
|
|
|
|
("log.phy_level", bpo::value<string>(&args->log.phy_level), "PHY log level")
|
|
|
|
("log.phy_hex_limit", bpo::value<int>(&args->log.phy_hex_limit), "PHY log hex dump limit")
|
|
|
|
("log.phy_hex_limit", bpo::value<int>(&args->log.phy_hex_limit), "PHY log hex dump limit")
|
|
|
|
|
|
|
|
("log.phy_lib_level", bpo::value<string>(&args->log.phy_lib_level)->default_value("none"), "PHY lib log level")
|
|
|
|
("log.mac_level", bpo::value<string>(&args->log.mac_level), "MAC log level")
|
|
|
|
("log.mac_level", bpo::value<string>(&args->log.mac_level), "MAC log level")
|
|
|
|
("log.mac_hex_limit", bpo::value<int>(&args->log.mac_hex_limit), "MAC log hex dump limit")
|
|
|
|
("log.mac_hex_limit", bpo::value<int>(&args->log.mac_hex_limit), "MAC log hex dump limit")
|
|
|
|
("log.rlc_level", bpo::value<string>(&args->log.rlc_level), "RLC log level")
|
|
|
|
("log.rlc_level", bpo::value<string>(&args->log.rlc_level), "RLC log level")
|
|
|
@ -274,6 +275,9 @@ void parse_args(all_args_t *args, int argc, char* argv[]) {
|
|
|
|
if(!vm.count("log.phy_level")) {
|
|
|
|
if(!vm.count("log.phy_level")) {
|
|
|
|
args->log.phy_level = args->log.all_level;
|
|
|
|
args->log.phy_level = args->log.all_level;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!vm.count("log.phy_lib_level")) {
|
|
|
|
|
|
|
|
args->log.phy_lib_level = args->log.all_level;
|
|
|
|
|
|
|
|
}
|
|
|
|
if(!vm.count("log.mac_level")) {
|
|
|
|
if(!vm.count("log.mac_level")) {
|
|
|
|
args->log.mac_level = args->log.all_level;
|
|
|
|
args->log.mac_level = args->log.all_level;
|
|
|
|
}
|
|
|
|
}
|
|
|
|