aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-07-20 09:21:30 +0000
committerBadlop <badlop@process-one.net>2009-07-20 09:21:30 +0000
commit367365f816dab51880b491305e469e48c2540b2b (patch)
treec72ffa3e022eab913e83b3dab39699ed5a63da89
parentImplement pubsub#get-pending Ad Hoc Command (EJAB-955) (thanks to Brian Cully) (diff)
moved some log reports from error to debug level (thanks to Evgeniy Khramtsov)
SVN Revision: 2373
-rw-r--r--src/web/ejabberd_http_bind.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index 61d15943b..68bb8e383 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -360,7 +360,7 @@ handle_sync_event({stop,stream_closed}, _From, _StateName, StateData) ->
Reply = ok,
{stop, normal, Reply, StateData};
handle_sync_event({stop,Reason}, _From, _StateName, StateData) ->
- ?ERROR_MSG("Closing bind session ~p - Reason: ~p", [StateData#state.id, Reason]),
+ ?DEBUG("Closing bind session ~p - Reason: ~p", [StateData#state.id, Reason]),
Reply = ok,
{stop, normal, Reply, StateData};
@@ -734,10 +734,10 @@ process_buffered_request(Reply, StateName, StateData) ->
handle_http_put(Sid, Rid, Attrs, Payload, StreamStart, IP) ->
case http_put(Sid, Rid, Attrs, Payload, StreamStart, IP) of
{error, not_exists} ->
- ?ERROR_MSG("no session associated with sid: ~p", [Sid]),
+ ?DEBUG("no session associated with sid: ~p", [Sid]),
{404, ?HEADER, ""};
{{error, Reason}, Sess} ->
- ?ERROR_MSG("Error on HTTP put. Reason: ~p", [Reason]),
+ ?DEBUG("Error on HTTP put. Reason: ~p", [Reason]),
handle_http_put_error(Reason, Sess);
{{repeat, OutPacket}, Sess} ->
?DEBUG("http_put said 'repeat!' ...~nOutPacket: ~p", [OutPacket]),