Skip to content

Commit

Permalink
Omit [info] message with number of queued stanzas
Browse files Browse the repository at this point in the history
Just log a debug message if a stream management session times out and
some stanzas weren't acknowledged.
  • Loading branch information
weiss committed Jul 10, 2016
1 parent f6e960d commit 7490335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ejabberd_c2s.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2873,8 +2873,8 @@ handle_unacked_stanzas(#state{mgmt_state = MgmtState} = StateData, F)
0 ->
ok;
N ->
?INFO_MSG("~B stanzas were not acknowledged by ~s",
[N, jid:to_string(StateData#state.jid)]),
?DEBUG("~B stanza(s) were not acknowledged by ~s",
[N, jid:to_string(StateData#state.jid)]),
lists:foreach(
fun({_, Time, #xmlel{attrs = Attrs} = El}) ->
From_s = fxml:get_attr_s(<<"from">>, Attrs),
Expand Down

0 comments on commit 7490335

Please sign in to comment.