[srslte-users] enb phy_log level vs phy_lib_log level
Andre Puschmann
andre at srs.io
Wed May 26 18:47:45 UTC 2021
Hi Joe,
that's right, we've also noticed that recently. Thanks for flagging it.
Best
Andre
On 26/5/21 18:01, J Giovatto wrote:
> 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
>
>
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> https://lists.softwareradiosystems.com/mailman/listinfo/srslte-users
>
More information about the srsran-users
mailing list