From dev-return-23496-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Oct 24 18:14:12 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB8BBDCDF for ; Wed, 24 Oct 2012 18:14:12 +0000 (UTC) Received: (qmail 36617 invoked by uid 500); 24 Oct 2012 18:14:12 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36581 invoked by uid 500); 24 Oct 2012 18:14:12 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 36571 invoked by uid 99); 24 Oct 2012 18:14:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 18:14:12 +0000 Date: Wed, 24 Oct 2012 18:14:12 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: <217277792.22997.1351102452229.JavaMail.jiratomcat@arcas> In-Reply-To: <503214484.553.1350649932334.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (COUCHDB-1569) Low diskspace warning for compaction should be logged at error level MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Cottlehuber updated COUCHDB-1569: -------------------------------------- Skill Level: New Contributors Level (Easy) > Low diskspace warning for compaction should be logged at error level > -------------------------------------------------------------------- > > Key: COUCHDB-1569 > URL: https://issues.apache.org/jira/browse/COUCHDB-1569 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Affects Versions: 1.2 > Reporter: Nils Breunese > Priority: Trivial > Fix For: 1.3 > > > In production we're running CouchDB at log level 'error', because running at 'info' is too verbose for production. We suspect automatic compaction might not be running due to low diskspace. > http://wiki.apache.org/couchdb/Compaction#Automatic_Compaction says: "When there's not enough free disk space to compact a particular database or view index, a warning message is logged." But there is no warning log level in CouchDB as far as I know and the can_db_compact function in src/couchdb/couch_compaction_daemon.erl seems to log the message about diskspace being too low at info level. Could this be changed to error level? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira