Commit e75dfb0f authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Add debugging logs

parent fa571046
......@@ -2186,7 +2186,16 @@ bool amf_n2::get_common_plmn(
plmn_slice_support_item.mnc = list[j].b_plmn_list[k].mnc;
for (auto s1 : list[j].b_plmn_list[k].slice_list) {
// for debugging purpose
Logger::amf_n2().debug(
"S-NSSAI from gNB (SST %s, SD %s)", s1.sst.c_str(),
s1.sd.c_str());
for (auto s2 : amf_cfg.plmn_list[i].slice_list) {
// for debugging purpose
Logger::amf_n2().debug(
"S-NSSAI from AMF (SST %s, SD %s)", s2.sst.c_str(),
s2.sd.c_str());
if ((s1.sst.compare(std::to_string(s2.sst)) == 0) and
(s1.sd.compare(std::to_string(s2.sd)) == 0)) {
Logger::amf_n2().debug(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment