couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject [2/2] git commit: change low disk space message to warn level
Date Sat, 26 Jan 2013 18:14:09 GMT
Updated Branches:
  refs/heads/1569-feature-low-disk-space-warn [created] 5abc82b79


change low disk space message to warn level

closes COUCHDB-1569


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

Branch: refs/heads/1569-feature-low-disk-space-warn
Commit: 5abc82b79e93a089b942dfabefb57e57fc243207
Parents: a1461a2
Author: Randall Leeds <randall@apache.org>
Authored: Sat Jan 26 10:12:58 2013 -0800
Committer: Randall Leeds <randall@apache.org>
Committed: Sat Jan 26 10:12:58 2013 -0800

----------------------------------------------------------------------
 src/couchdb/couch_compaction_daemon.erl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/5abc82b7/src/couchdb/couch_compaction_daemon.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_compaction_daemon.erl b/src/couchdb/couch_compaction_daemon.erl
index bc8cfea..18a51a4 100644
--- a/src/couchdb/couch_compaction_daemon.erl
+++ b/src/couchdb/couch_compaction_daemon.erl
@@ -302,7 +302,7 @@ can_db_compact(#config{db_frag = Threshold} = Config, Db) ->
             true ->
                 true;
             false ->
-                ?LOG_INFO("Compaction daemon - skipping database `~s` "
+                ?LOG_WARN("Compaction daemon - skipping database `~s` "
                     "compaction: the estimated necessary disk space is about ~p"
                     " bytes but the currently available disk space is ~p bytes.",
                    [Db#db.name, SpaceRequired, Free]),
@@ -333,7 +333,7 @@ can_view_compact(Config, DbName, GroupId, GroupInfo) ->
                 true ->
                     true;
                 false ->
-                    ?LOG_INFO("Compaction daemon - skipping view group `~s` "
+                    ?LOG_WARN("Compaction daemon - skipping view group `~s` "
                         "compaction (database `~s`): the estimated necessary "
                         "disk space is about ~p bytes but the currently available"
                         " disk space is ~p bytes.",


Mime
View raw message