Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Changed log level from LOG_NOTICE to LOG_INFO to suppress unexpected …
Browse files Browse the repository at this point in the history
…messages.

Signed-off-by: Shashank Parulekar <Shashank.Parulekar@seagate.com>
  • Loading branch information
shashank-parulekar authored and nezzzu committed Oct 17, 2022
1 parent f88aeae commit 71735b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addb2/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ M0_INTERNAL void m0_addb2_net_stop(struct m0_addb2_net *net,
* For now, just discard all the traces.
*/
if (!tr_tlist_is_empty(q)) {
M0_LOG(M0_NOTICE, "Traces discarded: %zi", tr_tlist_length(q));
M0_LOG(M0_INFO, "Traces discarded: %zi", tr_tlist_length(q));
m0_tl_teardown(tr, q, obj) {
m0_addb2_trace_done(&obj->o_tr);
}
Expand Down
2 changes: 1 addition & 1 deletion addb2/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void m0_addb2_sys_fini(struct m0_addb2_sys *sys)
sys_balance(sys);
sys_unlock(sys);
if (sys->sy_queued > 0)
M0_LOG(M0_NOTICE, "Records lost: %" PRIi64 "/%zi.",
M0_LOG(M0_INFO, "Records lost: %" PRIi64 "/%zi.",
sys->sy_queued, tr_tlist_length(&sys->sy_queue));
m0_tl_teardown(tr, &sys->sy_queue, to) {
/*
Expand Down

0 comments on commit 71735b8

Please sign in to comment.