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) <[email protected]> Authored: Sat Feb 2 13:43:56 2013 +0000 Committer: Jason Smith (work) <[email protected]> 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
