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:
parent
962b66b099
commit
214c62bf9c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user