couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1061290 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Thu, 20 Jan 2011 13:24:13 GMT
Author: fdmanana
Date: Thu Jan 20 13:24:12 2011
New Revision: 1061290

URL: http://svn.apache.org/viewvc?rev=1061290&view=rev
Log:
Removed unnecessary conversions

Modified:
    couchdb/trunk/src/couchdb/couch_httpd.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=1061290&r1=1061289&r2=1061290&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Thu Jan 20 13:24:12 2011
@@ -525,11 +525,11 @@ verify_is_server_admin(#user_ctx{roles=R
     end.
 
 log_request(#httpd{mochi_req=MochiReq,peer=Peer}, Code) ->
-    ?LOG_INFO("~s - - ~p ~s ~B", [
+    ?LOG_INFO("~s - - ~s ~s ~B", [
         Peer,
-        couch_util:to_existing_atom(MochiReq:get(method)),
+        MochiReq:get(method),
         MochiReq:get(raw_path),
-        couch_util:to_integer(Code)
+        Code
     ]).
 
 



Mime
View raw message