info conn

This commit is contained in:
Ery Lee 2015-01-11 00:20:34 +08:00
parent 4f0178ab91
commit a46b0f6a75
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ init([Sock]) ->
handle_call({go, Sock}, _From, #state{socket = Sock}) ->
{ok, Peername} = emqtt_net:peer_string(Sock),
{ok, ConnStr} = emqtt_net:connection_string(Sock, inbound),
lager:debug("connection: ~s~n", [ConnStr]),
lager:info("Connect from ~s", [ConnStr]),
{reply, ok,
control_throttle(
#state{ socket = Sock,