couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatam...@apache.org
Subject [couchdb-documentation] 01/07: Document the log.writer option
Date Fri, 17 Mar 2017 01:29:21 GMT
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 bcfc61639ff3ab32ed96e218597d4df6f6a2aa6f
Author: Jonathan Hall <flimzy@flimzy.com>
AuthorDate: Mon Mar 13 19:53:12 2017 +0100

    Document the log.writer option
    
    I adapted the description from that found in the default.ini.
---
 src/config/logging.rst | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/src/config/logging.rst b/src/config/logging.rst
index 7cfd56b..28455f9 100644
--- a/src/config/logging.rst
+++ b/src/config/logging.rst
@@ -26,6 +26,21 @@ Logging options
 
     CouchDB logging configuration.
 
+    .. config:option:: writer :: Set the log writer to use.
+
+        Current writers include:
+
+        - ``stderr``: Logs are sent to stderr.
+        - ``file``: Logs are sent to the file set in
+          :option:`log file <log/file>`.
+        - ``syslog``: Logs are sent to the syslog daemon.
+
+        You can also specify a full module name here if implement your own
+        writer.
+
+            [log]
+            writer = stderr
+
     .. config:option:: file :: Logging file path
 
         Specifies the location of file for logging output::
@@ -38,7 +53,7 @@ Logging options
 
     .. config:option:: level :: Logging verbose level
 
-        .. versionchanged:: 1.3: Added ``warning`` level.
+        .. versionchanged:: 1.3 Added ``warning`` level.
 
         Logging level defines how verbose and detailed logging will be::
 

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message