Merge pull request #1591 from terry-xiaoyu/issue-1590

#1590 error log when change CleanSession
This commit is contained in:
huangdan 2018-05-11 10:28:43 +08:00 committed by GitHub
commit b9378710d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ handle_cast({resume, ClientId, ClientPid},
%% Clean Session: true -> false?
if
CleanSess =:= true ->
?LOG(error, "CleanSess changed to false.", [], State1),
?LOG(info, "CleanSess changed to false.", [], State1),
emqttd_sm:register_session(ClientId, false, info(State1));
CleanSess =:= false ->
ok