You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2010/08/05 15:55:26 UTC
svn commit: r982621 - /couchdb/trunk/src/couchdb/couch_log.erl
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"),