You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/07/23 21:55:12 UTC

[couchdb] 27/31: Remove debug logging

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch prototype/views
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit e714ba6d8fece713b37da04ca31d5cd423352130
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Tue Jul 23 16:38:00 2019 -0500

    Remove debug logging
---
 src/couch_views/src/couch_views_fdb.erl     | 2 --
 src/couch_views/src/couch_views_indexer.erl | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/couch_views/src/couch_views_fdb.erl b/src/couch_views/src/couch_views_fdb.erl
index 7a2d7e3..a65ada3 100644
--- a/src/couch_views/src/couch_views_fdb.erl
+++ b/src/couch_views/src/couch_views_fdb.erl
@@ -291,8 +291,6 @@ update_id_idx(TxDb, Sig, ViewId, DocId, NewRows) ->
 
     Unique = lists:usort([K || {K, _V} <- NewRows]),
 
-    couch_log:error("Updating ID index: ~p ~p ~p ~p", [ViewId, DocId, NewRows, Unique]),
-
     Key = id_idx_key(DbPrefix, Sig, DocId, ViewId),
     RowSize = calculate_row_size(NewRows),
     Val = couch_views_encoding:encode([length(NewRows), RowSize, Unique]),
diff --git a/src/couch_views/src/couch_views_indexer.erl b/src/couch_views/src/couch_views_indexer.erl
index 0000700..e7bec64 100644
--- a/src/couch_views/src/couch_views_indexer.erl
+++ b/src/couch_views/src/couch_views_indexer.erl
@@ -37,8 +37,6 @@ spawn_link() ->
 
 init() ->
     {ok, Job, Data} = couch_jobs:accept(?INDEX_JOB_TYPE, #{}),
-    couch_log:error("XKCD: GOT JOB: ~p~n", [Data]),
-
     #{
         <<"db_name">> := DbName,
         <<"ddoc_id">> := DDocId,