25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Better log bytestream termination

This commit is contained in:
Evgeniy Khramtsov 2017-01-17 23:06:55 +03:00
parent 9021ba01ac
commit 7b8c01da12

View File

@ -102,7 +102,7 @@ terminate(_Reason, StateName, #state{sha1 = SHA1}) ->
Mod = gen_mod:ram_db_mod(global, mod_proxy65),
Mod:unregister_stream(SHA1),
if StateName == stream_established ->
?INFO_MSG("Bytestream terminated", []);
?INFO_MSG("(~w) Bytestream terminated", [self()]);
true -> ok
end.