summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2016-07-22 05:00:18 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2016-07-22 05:04:09 -0500
commit4c972ab247e24d2f8ce6c2575c99cc2839afcd28 (patch)
treed77e1c425e57fa7173387d54e0287c344a9e73d4 /rel
parent7777595015b8160ba43c17a4452f56e109b9565a (diff)
downloadcouchdb-4c972ab247e24d2f8ce6c2575c99cc2839afcd28.tar.gz
Add config file notes for new logging options
Diffstat (limited to 'rel')
-rw-r--r--rel/overlay/etc/default.ini35
1 files changed, 27 insertions, 8 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 02dd39262..5eeb9389b 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