couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [4/5] couchdb commit: updated refs/heads/master to 7b3f5d0
Date Fri, 22 Jul 2016 10:04:30 GMT
Add config file notes for new logging options


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

Branch: refs/heads/master
Commit: 4c972ab247e24d2f8ce6c2575c99cc2839afcd28
Parents: 7777595
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Fri Jul 22 05:00:18 2016 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Jul 22 05:04:09 2016 -0500

----------------------------------------------------------------------
 rel/overlay/etc/default.ini | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4c972ab2/rel/overlay/etc/default.ini
----------------------------------------------------------------------
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 02dd392..5eeb938 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -393,19 +393,38 @@ min_file_size = 131072
 ;_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "23:00"}, {to,
"04:00"}]
 
 [log]
-; CouchDB logging backend
-; Currently supported only two: stderr and lager
-backend = lager
+; Set the log writer to use
+; Current writers include:
+;   stderr
+;   file
+;   syslog
+; You can also specify a full module name
+; here if you want to implement your own
+; writer. See couch_log_writer.erl for
+; more information on the (simple) API.
+writer = stderr
+
+; Options for the file writer
+; file = /path/to/couch.log
+; write_buffer = size_in_bytes
+; write_delay = time_in_milliseconds
+
+; Options for the syslog writer
+; syslog_host = remote host
+; syslog_port = 514
+; syslog_appid = couchdb
+; syslog_facility = local2
+
 ; Possible logging levels (sorted by level):
 ;     none
-;     emergency
+;     emergency, emerg
 ;     alert
-;     critical
-;     error
-;     warning
+;     critical, crit
+;     error, err
+;     warning, warn
 ;     notice
 ;     info
 ;     debug
 ; Each controls how verbose logging will be. Higher level mean less log output.
-; none level turns logging off, except for crashes.
+; none level turns logging off
 level = info


Mime
View raw message