25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example.

This commit is contained in:
Mickael Remond 2010-03-14 10:30:01 +01:00
parent 962b66b099
commit 214c62bf9c

View File

@ -481,7 +481,7 @@ code_change(_OldVsn, StateName, StateData, _Extra) ->
%% We reached the max_inactivity timeout:
handle_info({timeout, Timer, _}, _StateName,
#state{id=SID, timer = Timer} = StateData) ->
?WARNING_MSG("Session timeout. Closing the HTTP bind session: ~p", [SID]),
?INFO_MSG("Session timeout. Closing the HTTP bind session: ~p", [SID]),
{stop, normal, StateData};
handle_info({timeout, WaitTimer, _}, StateName,