From 6d9094ceca1652a593c15347ce6f3f932e9703d5 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Sun, 14 Mar 2010 10:30:01 +0100 Subject: [PATCH] Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example. --- src/web/ejabberd_http_bind.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index bffee2ff8..574fac530 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -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,