summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2010-08-05 13:55:25 +0000
committerRobert Newson <rnewson@apache.org>2010-08-05 13:55:25 +0000
commitd9ae4c6f6f316123b245f4ccb6f3539be2f0a6e7 (patch)
treea08947ccf02da881183159da4292eb81227b72a3 /src
parent635b493da67ef88af21174a4110b4d53aa4a813f (diff)
remove double-spacing in couch.log output.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982621 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_log.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_log.erl b/src/couchdb/couch_log.erl
index d21f7ecc..dfd2d178 100644
--- a/src/couchdb/couch_log.erl
+++ b/src/couchdb/couch_log.erl
@@ -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"),