aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2010-03-14 10:30:01 +0100
committerMickael Remond <mremond@process-one.net>2010-03-15 11:42:11 +0100
commit214c62bf9c3f47b723f925a4b68a2e7f07c1d28a (patch)
tree25cb6949aa04a427b2646b7d4399b86f6efdc610
parentUpdate ejabberd version number to 2.1.3 (diff)
Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example.
-rw-r--r--src/web/ejabberd_http_bind.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index 39b77a193..11ee84182 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -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,