Просмотр исходного кода

chore(conn): change terminated print to debug level

JianBo He 4 лет назад
Родитель
Сommit
ef6f867304
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/emqx_connection.erl

+ 1 - 1
src/emqx_connection.erl

@@ -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.