You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/17 01:29:25 UTC
[couchdb-documentation] 05/07: Expand logging config documentation
to include writer-specific parameters.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit 91e81ef4b812c01b1bfc06897eac073632081c76
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Mon Mar 13 21:52:27 2017 +0100
Expand logging config documentation to include writer-specific parameters.
---
src/config/logging.rst | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
diff --git a/src/config/logging.rst b/src/config/logging.rst
index 1884852..8488059 100644
--- a/src/config/logging.rst
+++ b/src/config/logging.rst
@@ -43,7 +43,8 @@ Logging options
.. config:option:: file :: Logging file path
- Specifies the location of file for logging output::
+ Specifies the location of file for logging output. Only used by the
+ ``file`` :option:`writer <log/writer>`.
[log]
file = /var/log/couchdb/couch.log
@@ -51,6 +52,24 @@ Logging options
This path should be readable and writable for user that runs CouchDB
service (`couchdb` by default).
+ .. config:option:: write_buffer
+
+ Specifies the size of the file log write buffer in bytes, to enable
+ delayed log writes. Only used by the ``file``
+ :option:`writer <log/writer>`.
+
+ [log]
+ write_buffer = 0
+
+ .. config:option:: write_delay
+
+ Specifies the wait in milliseconds before commiting logs to disk, to
+ enable delayed log writes. Only used by the ``file``
+ :option:`writer <log/writer>`.
+
+ [log]
+ write_delay = 0
+
.. config:option:: level :: Logging verbose level
.. versionchanged:: 1.3 Added ``warning`` level.
@@ -87,6 +106,38 @@ Logging options
.. _SASL: http://www.erlang.org/doc/apps/sasl/
+ .. config:option:: syslog_host
+
+ Specifies the syslog host to send logs to. Only used by the
+ ``syslog`` :option:`writer <log/writer>`.
+
+ [log]
+ syslog_host = localhost
+
+ .. config:optoin:: syslog_port
+
+ Specifies the syslog port to connect to when sending logs. Only used by
+ the ``syslog`` :option:`writer <log/writer>`.
+
+ [log]
+ syslog_port = 514
+
+ .. config:option:: syslog_appid
+
+ Specifies application name to the ``syslog``
+ :option:`writer <log/writer>`.
+
+ [log]
+ syslog_appid = couchdb
+
+ .. config:option:: syslog_facility
+
+ Specifies the syslog facility to use with the ``syslog``
+ :option:`writer <log/writer>`.
+
+ [log]
+ syslog_facility = local2
+
.. _config/log_level_by_module:
Per module logging
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.