Feng hace 10 años
padre
commit
3c69d1a5c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/emqttd_cm.erl

+ 1 - 1
src/emqttd_cm.erl

@@ -126,7 +126,7 @@ handle_cast({unregister, ClientId, Pid}, State) ->
 	[_] ->
 		ignore;
 	[] ->
-        ?LOG(error, "Cannot find registered: ~p", [Pid], State)
+        lager:warning("CM(~s): Cannot find registered pid ~p", [ClientId, Pid])
 	end,
 	{noreply, setstats(State)};