Skip to content

Commit

Permalink
add another log for mgid, change log message (#1285)
Browse files Browse the repository at this point in the history
Signed-off-by: Bara Kopi <[email protected]>
Signed-off-by: Angela Zhang <[email protected]>
Co-authored-by: Bara Kopi <[email protected]>
  • Loading branch information
angelazhang8 and Bara Kopi authored Jan 7, 2025
1 parent 2f82eaf commit 87e6bf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bm_sim/simple_pre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ McSimplePre::replicate(const McSimplePre::McIn ingress_info) const {
}
}
}
BMLOG_DEBUG("number of packets replicated : {} for multicast group id: {}",
egress_info_list.size(), ingress_info.mgid);
BMLOG_DEBUG("number of packets replicated : {} for MGID: {}",
egress_info_list.size(), ingress_info.mgid);
return egress_info_list;
}

Expand Down
3 changes: 2 additions & 1 deletion src/bm_sim/simple_pre_lag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ McSimplePreLAG::replicate(const McSimplePre::McIn ingress_info) const {
}
}
}
BMLOG_DEBUG("number of packets replicated : {}", egress_info_list.size());
BMLOG_DEBUG("number of packets replicated : {} for MGID: {}",
egress_info_list.size(), ingress_info.mgid);
return egress_info_list;
}

Expand Down

0 comments on commit 87e6bf3

Please sign in to comment.