Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6F62EFD4 for ; Sat, 2 Feb 2013 15:32:25 +0000 (UTC) Received: (qmail 58301 invoked by uid 500); 2 Feb 2013 15:32:23 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 57870 invoked by uid 500); 2 Feb 2013 15:32:22 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 57119 invoked by uid 99); 2 Feb 2013 15:32:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2013 15:32:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 105EF829433; Sat, 2 Feb 2013 15:32:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jhs@apache.org To: commits@couchdb.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [13/20] git commit: A config option for a dedicated JavaScript log file Message-Id: <20130202153219.105EF829433@tyr.zones.apache.org> Date: Sat, 2 Feb 2013 15:32:19 +0000 (UTC) A config option for a dedicated JavaScript log file Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e68d74a8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e68d74a8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e68d74a8 Branch: refs/heads/console_log Commit: e68d74a84c9f7540dca08699c1bdd79be97b142e Parents: 919150e Author: Jason Smith (work) Authored: Sat Feb 2 13:43:56 2013 +0000 Committer: Jason Smith (work) Committed: Sat Feb 2 14:16:12 2013 +0000 ---------------------------------------------------------------------- etc/couchdb/default.ini.tpl.in | 1 + etc/couchdb/local.ini | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/e68d74a8/etc/couchdb/default.ini.tpl.in ---------------------------------------------------------------------- diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in index be92fcf..e355cbf 100644 --- a/etc/couchdb/default.ini.tpl.in +++ b/etc/couchdb/default.ini.tpl.in @@ -56,6 +56,7 @@ port = 6984 [log] file = %localstatelogdir%/couch.log +; view_file = level = info include_sasl = true http://git-wip-us.apache.org/repos/asf/couchdb/blob/e68d74a8/etc/couchdb/local.ini ---------------------------------------------------------------------- diff --git a/etc/couchdb/local.ini b/etc/couchdb/local.ini index a5db26f..6da78ee 100644 --- a/etc/couchdb/local.ini +++ b/etc/couchdb/local.ini @@ -37,6 +37,10 @@ [log] ;level = debug +; This is an optional additional log file which only has messages from +; the view server (i.e. JavaScript). +;view_file = js.log + [log_level_by_module] ; In this section you can specify any of the four log levels 'none', 'info', ; 'error' or 'debug' on a per-module basis. See src/*/*.erl for various