From 53bc54a860c7bdc089d637fa96c91f8d6f3a92c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 7 Oct 2019 11:43:44 +0200
Subject: Document the logger option

---
 doc/src/manual/cowboy_http.asciidoc | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'doc/src/manual/cowboy_http.asciidoc')

diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc
index e0587dc..7ade577 100644
--- a/doc/src/manual/cowboy_http.asciidoc
+++ b/doc/src/manual/cowboy_http.asciidoc
@@ -23,6 +23,7 @@ opts() :: #{
     idle_timeout            => timeout(),
     inactivity_timeout      => timeout(),
     linger_timeout          => timeout(),
+    logger                  => module(),
     max_empty_lines         => non_neg_integer(),
     max_header_name_length  => non_neg_integer(),
     max_header_value_length => non_neg_integer(),
@@ -78,6 +79,10 @@ Time in ms that Cowboy will wait when closing the connection. This is
 necessary to avoid the TCP reset problem as described in the
 https://tools.ietf.org/html/rfc7230#section-6.6[section 6.6 of RFC7230].
 
+logger (error_logger)::
+
+The module that will be used to write log messages.
+
 max_empty_lines (5)::
 
 Maximum number of empty lines before a request.
@@ -133,6 +138,7 @@ Ordered list of stream handlers that will handle all stream events.
 
 == Changelog
 
+* *2.7*: The `logger` option was added.
 * *2.6*: The `chunked`, `http10_keepalive`, `proxy_header` and `sendfile` options were added.
 * *2.5*: The `linger_timeout` option was added.
 * *2.2*: The `max_skip_body_length` option was added.
-- 
cgit v1.2.3

