Merge pull request #6358 from HJianBo/change_terminate_log_level_to_debug

chore(conn): change terminated print to debug level
This commit is contained in:
Zaiming (Stone) Shi 2021-12-02 13:10:58 +01:00 committed by GitHub
commit f7d6cc12ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ terminate(Reason, State = #state{channel = Channel, transport = Transport,
E : C : S ->
?tp(warning, unclean_terminate, #{exception => E, context => C, stacktrace => S})
end,
?tp(info, terminate, #{reason => Reason}),
?tp(debug, terminate, #{reason => Reason}),
maybe_raise_excption(Reason).
%% close socket, discard new state, always return ok.