summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-09-18 19:42:40 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-09-18 19:42:40 +0000
commit83bc0427cf355d76e0580cdd5b7d5369d69b6c2e (patch)
treefb472e2ed1aa97b2999a3c2c7dc260f3bf7ea3fa
parentce076cb7b69f6c17722974f0626af3e99a0a3e4d (diff)
Added peer information to debug message.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998530 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_httpd.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 1504ebc9..e853f97d 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -188,10 +188,11 @@ handle_request_int(MochiReq, DefaultFun,
{FirstPart, _, _} ->
list_to_binary(FirstPart)
end,
- ?LOG_DEBUG("~p ~s ~p~nHeaders: ~p", [
+ ?LOG_DEBUG("~p ~s ~p from ~p~nHeaders: ~p", [
MochiReq:get(method),
RawUri,
MochiReq:get(version),
+ MochiReq:get(peer),
mochiweb_headers:to_list(MochiReq:get(headers))
]),