From f91eabafccb3a1ebae9ac770d6ad3d64efcf47dc Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Thu, 9 Dec 2010 17:01:54 -0500 Subject: Log the request ID --- apps/couch/include/couch_db.hrl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/couch/include') 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, -- cgit v1.2.3