25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +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 d50fc6728e
commit 6d9094ceca

View File

@ -479,7 +479,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,