couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r982621 - /couchdb/trunk/src/couchdb/couch_log.erl
Date Thu, 05 Aug 2010 13:55:26 GMT
Author: rnewson
Date: Thu Aug  5 13:55:25 2010
New Revision: 982621

URL: http://svn.apache.org/viewvc?rev=982621&view=rev
Log:
remove double-spacing in couch.log output.

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

Modified: couchdb/trunk/src/couchdb/couch_log.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_log.erl?rev=982621&r1=982620&r2=982621&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_log.erl (original)
+++ couchdb/trunk/src/couchdb/couch_log.erl Thu Aug  5 13:55:25 2010
@@ -135,7 +135,7 @@ log(Fd, Pid, Level, Format, Args) ->
     ok = io:format("[~s] [~p] ~s~n", [Level, Pid, Msg]), % dump to console too
     Msg2 = re:replace(lists:flatten(Msg),"\\r\\n|\\r|\\n", "\r\n",
         [global, {return, list}]),
-    ok = io:format(Fd, "[~s] [~s] [~p] ~s\r~n\r~n", [httpd_util:rfc1123_date(), Level, Pid,
Msg2]).
+    ok = io:format(Fd, "[~s] [~s] [~p] ~s\r~n", [httpd_util:rfc1123_date(), Level, Pid, Msg2]).
 
 read(Bytes, Offset) ->
     LogFileName = couch_config:get("log", "file"),



Mime
View raw message