diff --git a/srsenb/src/phy/nr/slot_worker.cc b/srsenb/src/phy/nr/slot_worker.cc index 00fc13f2d..fed1aa6e5 100644 --- a/srsenb/src/phy/nr/slot_worker.cc +++ b/srsenb/src/phy/nr/slot_worker.cc @@ -238,7 +238,13 @@ bool slot_worker::work_ul() std::array str; srsran_gnb_ul_pusch_info(&gnb_ul, &pusch.sch, &pusch_info.pusch_data, str.data(), (uint32_t)str.size()); - logger.info("PUSCH: %s", str.data()); + if (logger.debug.enabled()) { + std::array str_extra; + srsran_sch_cfg_nr_info(&pusch.sch, str_extra.data(), (uint32_t)str_extra.size()); + logger.info("PUSCH: %s\n%s", str.data(), str_extra.data()); + } else { + logger.info("PUSCH: %s", str.data()); + } } }