Updated Branches:
  refs/heads/1.3.x 869f42e2d -> 7308432ab
  refs/heads/master cc7482ec9 -> 94b402d94


Fix bad merge of WARN level logging

Patch provided by Christopher Bonhage

Fixes COUCHDB-1794


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a1a98c03
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a1a98c03
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a1a98c03

Branch: refs/heads/1.3.x
Commit: a1a98c0346ebb1780be02eeea7981d9851cf68d5
Parents: 869f42e
Author: Randall Leeds <rand...@apache.org>
Authored: Mon May 13 16:32:48 2013 -0700
Committer: Randall Leeds <rand...@apache.org>
Committed: Mon May 13 16:34:10 2013 -0700

----------------------------------------------------------------------
 src/couchdb/couch_db.hrl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/a1a98c03/src/couchdb/couch_db.hrl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl
index 863301b..95f617d 100644
--- a/src/couchdb/couch_db.hrl
+++ b/src/couchdb/couch_db.hrl
@@ -53,7 +53,7 @@
     end).
 
 -define(LOG_WARN(Format, Args),
-    case couch_log:warn_on(?MODULE) of
+    case couch_log:warn_on() of
         true ->
             couch_log:warn(Format, Args);
         false -> ok

Reply via email to