summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Leeds <randall@apache.org>2013-01-26 10:12:58 -0800
committerRandall Leeds <randall@apache.org>2013-01-26 10:12:58 -0800
commit5abc82b79e93a089b942dfabefb57e57fc243207 (patch)
treecf3d8cac7e52cb3f5994f7cd1364e9c7d139e876
parenta1461a2b92f8cbd89f0aebe7339e754836d14202 (diff)
downloadcouchdb-5abc82b79e93a089b942dfabefb57e57fc243207.tar.gz
change low disk space message to warn level
closes COUCHDB-1569
-rw-r--r--src/couchdb/couch_compaction_daemon.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_compaction_daemon.erl b/src/couchdb/couch_compaction_daemon.erl
index bc8cfea5d..18a51a412 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.",