You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/06/16 02:10:27 UTC
[couchdb] branch jenkins-pipeline updated: Even more logging
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/jenkins-pipeline by this push:
new edbddc4 Even more logging
edbddc4 is described below
commit edbddc43f02fe4b02210bc9da02253642f3fb2fb
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Jun 15 22:10:21 2017 -0400
Even more logging
---
src/couch/src/couch_io_logger.erl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/couch/src/couch_io_logger.erl b/src/couch/src/couch_io_logger.erl
index 188e031..387b231 100644
--- a/src/couch/src/couch_io_logger.erl
+++ b/src/couch/src/couch_io_logger.erl
@@ -37,6 +37,7 @@ start(Dir) ->
put(logger_path, Path),
put(logger_out_fd, OFd),
put(logger_in_fd, IFd),
+ couch_log:error("XXXXXXXXXXXXXXXX started couch io logging ~p", [Path]),
ok;
false ->
ok
@@ -98,7 +99,8 @@ save_error_logs(Path, Err) ->
file:position(IFd, 0),
file:position(OFd, 0),
file:copy(IFd, Path ++ ".out.log"),
- file:copy(OFd, Path ++ ".in.log").
+ file:copy(OFd, Path ++ ".in.log"),
+ couch_log:error("XXXXXXXXXXXXXXXXX saved error log ~p ~p", [Path, Err]).
log(undefined, _Data) ->
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].