[srslte-users] enb phy_log level vs phy_lib_log level
J Giovatto
jgiovatto at adjacentlink.com
Wed May 26 16:01:22 UTC 2021
Hi Folks,
It looks like the phy_log for the enb is not set the same way the ue
sets it, instead it is taking the level for the phy_lib, not sure if
this is the desired value.
Proposed change below ...
diff --git a/srsenb/src/phy/phy.cc b/srsenb/src/phy/phy.cc
index 4a825b554..28ff47b6e 100644
--- a/srsenb/src/phy/phy.cc
+++ b/srsenb/src/phy/phy.cc
@@ -126,7 +126,7 @@ int phy::init(const phy_args_t& args,
}
// Create default log.
- phy_log.set_level(log_lvl);
+ phy_log.set_level(srslog::str_to_basic_level(args.log.phy_level));
phy_log.set_hex_dump_max_size(args.log.phy_hex_limit);
radio = radio_;
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210526/fa056d27/attachment.sig>
More information about the srsran-users
mailing list