summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd.erl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-04-17 10:47:20 +0000
committerJan Lehnardt <jan@apache.org>2008-04-17 10:47:20 +0000
commitad230e67fb09883e2171291d5a42635f5e2addb9 (patch)
tree9e535f769d8ed5e115c03d06140cdeb01c6a3d79 /src/couchdb/couch_httpd.erl
parent39de3072bcf9fdeec6d3faeb125924c401242205 (diff)
Display Request HTTP version on debug
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@649048 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r--src/couchdb/couch_httpd.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 0f2b89a5..ad60d7ca 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -57,6 +57,7 @@ handle_request(Req, DocumentRoot) ->
% removed, but URL quoting left intact
{Path, _, _} = mochiweb_util:urlsplit_path(Req:get(raw_path)),
+ couch_log:debug("Version: ~p", [Req:get(version)]),
couch_log:debug("Method: ~p", [Method]),
couch_log:debug("Request URI: ~p", [Path]),
couch_log:debug("Headers: ~p", [mochiweb_headers:to_list(Req:get(headers))]),