24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-18 22:15:20 +02: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: %% We reached the max_inactivity timeout:
handle_info({timeout, Timer, _}, _StateName, handle_info({timeout, Timer, _}, _StateName,
#state{id=SID, timer = Timer} = StateData) -> #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}; {stop, normal, StateData};
handle_info({timeout, WaitTimer, _}, StateName, handle_info({timeout, WaitTimer, _}, StateName,