Merge pull request #7874 from qzhuyan/dev/william/logging-fix

chore: minor logging fix
This commit is contained in:
William Yang 2022-05-05 20:23:21 +02:00 committed by GitHub
commit 7dcdae4672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ terminate(
emqx_congestion:cancel_alarms(Socket, Transport, Channel1),
emqx_channel:terminate(Reason, Channel1),
close_socket_ok(State),
?TRACE("SOCKET", "tcp_socket_terminated", #{reason => Reason})
?TRACE("SOCKET", "emqx_connection_terminated", #{reason => Reason})
catch
E:C:S ->
?tp(warning, unclean_terminate, #{exception => E, context => C, stacktrace => S})