diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-12-09 17:01:54 -0500 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-12-09 17:01:54 -0500 |
commit | f91eabafccb3a1ebae9ac770d6ad3d64efcf47dc (patch) | |
tree | 58efe87a4920bc03a8fa93c92201ab4940acad54 /apps/couch/include | |
parent | ab65f7b8add60ac0a6f9baac25d770ca8297a7a5 (diff) |
Log the request ID
Diffstat (limited to 'apps/couch/include')
-rw-r--r-- | apps/couch/include/couch_db.hrl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/couch/include/couch_db.hrl b/apps/couch/include/couch_db.hrl index 20f451d9..2907ff90 100644 --- a/apps/couch/include/couch_db.hrl +++ b/apps/couch/include/couch_db.hrl @@ -29,7 +29,7 @@ case couch_log:debug_on() of true -> gen_event:sync_notify(error_logger, - {self(), couch_debug, {Format, Args}}); + {self(), couch_debug, erlang:get(nonce), {Format, Args}}); false -> ok end). @@ -37,13 +37,13 @@ case couch_log:info_on() of true -> gen_event:sync_notify(error_logger, - {self(), couch_info, {Format, Args}}); + {self(), couch_info, erlang:get(nonce), {Format, Args}}); false -> ok end). -define(LOG_ERROR(Format, Args), gen_event:sync_notify(error_logger, - {self(), couch_error, {Format, Args}})). + {self(), couch_error, erlang:get(nonce), {Format, Args}})). -record(rev_info, |