couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject git commit: Fix type logging status codes
Date Sun, 17 Jun 2012 15:17:34 GMT
Updated Branches:
  refs/heads/master 3b239def5 -> 9514ed3f5


Fix type logging status codes


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9514ed3f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9514ed3f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9514ed3f

Branch: refs/heads/master
Commit: 9514ed3f5dd8527a345e91b15c039da1f36d60d9
Parents: 3b239de
Author: Dale Harvey <dale@arandomurl.com>
Authored: Sat Jun 16 15:56:21 2012 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sun Jun 17 17:17:20 2012 +0200

----------------------------------------------------------------------
 src/couchdb/couch_httpd.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9514ed3f/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 8b05076..7329c3b 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -629,7 +629,7 @@ start_response_length(#httpd{mochi_req=MochiReq}=Req, Code, Headers, Length)
->
 
 start_response(#httpd{mochi_req=MochiReq}=Req, Code, Headers) ->
     log_request(Req, Code),
-    couch_stats_collector:increment({httpd_status_cdes, Code}),
+    couch_stats_collector:increment({httpd_status_codes, Code}),
     CookieHeader = couch_httpd_auth:cookie_auth_header(Req, Headers),
     Headers2 = Headers ++ server_header() ++ CookieHeader,
     Resp = MochiReq:start_response({Code, Headers2}),


Mime
View raw message